Updated test file for unit test

- added race size represented the number of teams who would compete in a race
- changed teams to an array containing maps of each team within team name and boat velocity

#test #story[8] #story[6]
This commit is contained in:
Haoming Yin
2017-03-06 21:38:25 +13:00
parent 597c1ae955
commit 90aed14ddc
+12 -4
View File
@@ -1,5 +1,13 @@
{ {
"time-scale": 100, "race-name": "AC35",
"race-name": "IDK", "time-scale": 1,
"teams":["team1","team2","team3"] "race-size": 2,
} "teams": [
{"team-name": "Oracle Team USA", "velocity": 20.9},
{"team-name": "Artemis Racing", "velocity": 18.3},
{"team-name": "Emirates Team New Zealand", "velocity": 21.5},
{"team-name": "Groupama Team France","velocity": 19.9},
{"team-name": "Land Rover BAR", "velocity": 17.6},
{"team-name": "SoftBank Team Japan", "velocity": 16.6}
]
}