diff options
author | Justin Worthe <justin@worthe-it.co.za> | 2019-05-25 22:52:19 +0200 |
---|---|---|
committer | Justin Worthe <justin@worthe-it.co.za> | 2019-05-25 22:52:19 +0200 |
commit | 7b3fe83b4bdb943d3d44ed036150d017279cfe05 (patch) | |
tree | 4ed9bc57722d771fdecf9845e2412ec086eb80d0 /tests | |
parent | e9a514409565c17a4a86e8c6402be8d7a4f399ae (diff) |
Implemented tracking of the tiebreaking score
Diffstat (limited to 'tests')
-rw-r--r-- | tests/official-runner-matching.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/official-runner-matching.rs b/tests/official-runner-matching.rs index c9cc387..19cfdeb 100644 --- a/tests/official-runner-matching.rs +++ b/tests/official-runner-matching.rs @@ -45,6 +45,7 @@ fn simulates_the_same_match() { 0 => &player, _ => &opponent }; + assert_eq!(csv_row[4].parse::<i32>().unwrap(), game_board.players[player_index].score(), "Score is incorrect for player {}, Row: {:?}", player_index, csv_row); for worm_index in 0..3 { let worm_id = worm_index as i32 + 1; |