test_instantiation
test_instantiationWithArrayToRun
- OK - No invalid moves detected
- OK - First point valid
- OK - Second point valid
- OK - Third point valid
- OK - Fourth point valid
test_basics
- OK - assert first double detected
- OK - no points
- OK - assert first double detected
- OK - yes points (10 for double 5)
- OK - assert first double not detected
- OK - zero points for 6-5 on first play
test_single_track
- OK - assert first double not detected
- OK - zero points for 6-5 on first play
- OK - board has two dominoes on first track
test_single_track_reversal_no_double
- OK - assert first double not detected
- OK - zero points for 6-5 on first play
- OK - board has two dominoes on first track
- OK - first domino on board is now the 6-3
- OK - second domino on board is now the 6-5
- OK - temporary extra point is no longer the 6
test_scoringWithOutDouble
- OK - game is played correctly #1 (0,6-4,10)
- OK - game is played correctly #2 (0,6-1,5)
- OK - game is played correctly #3 (0,2-1,0)
- OK - game is played correctly #4 (0,4-3,5)
test_scoringWithSimpleDouble
- OK - game is played correctly #1 (0,6-6,0)
- OK - game is played correctly #2 (0,6-1,0)
- OK - game is played correctly #3 (1,6-4,5)
- OK - game is played correctly #4 (1,4-2,0)
- OK - game is played correctly #5 (0,3-1,5)
test_scoringWithDouble
- OK - game is played correctly #1 (0,6-6,0)
- OK - game is played correctly #2 (0,6-4,0)
- OK - game is played correctly #3 (0,4-4,20)
- OK - game is played correctly #4 (1,6-5,0)
- OK - game is played correctly #5 (0,4-0,5)
- OK - game is played correctly #6 (0,0-0,5)
- OK - game is played correctly #7 (2,6-2,0)
- OK - game is played correctly #8 (3,6-3,10)
test_scoringWithReversalWhenDoublePlayed
- OK - game is played correctly #1 (0,6-5,0)
- OK - game is played correctly #2 (0,5-4,10)
- OK - game is played correctly #3 (0,4-3,0)
- OK - game is played correctly #4 (0,6-2,5)
test_invalidGame
- OK - game is played correctly #1 (0,6-6,0)
- OK - game is played correctly #2 (0,5-4,-1)
- OK - game is played correctly #3 (0,6-5,0)
- OK - game is played correctly #4 (0,6-4,-1)
- OK - game is played correctly #5 (1,6-4,0)
- OK - game is played correctly #6 (1,6-5,-1)
test_scoringActualGame
- OK - game is played correctly #1 (0,5-5,10)
- OK - game is played correctly #2 (0,5-1,0)
- OK - game is played correctly #3 (0,1-1,0)
- OK - game is played correctly #4 (0,1-0,10)
- OK - game is played correctly #5 (1,6-5,0)
- OK - game is played correctly #6 (0,5-0,0)
- OK - game is played correctly #7 (1,6-0,5)
- OK - game is played correctly #8 (1,4-0,0)
- OK - game is played correctly #9 (1,6-4,0)
- OK - game is played correctly #10 (1,6-1,0)
- OK - game is played correctly #11 (1,2-1,0)
- OK - game is played correctly #12 (1,2-2,0)
- OK - game is played correctly #13 (1,4-2,0)
- OK - game is played correctly #14 (1,4-4,0)
- OK - game is played correctly #15 (2,5-3,0)
- OK - game is played correctly #16 (1,4-1,0)
- OK - game is played correctly #17 (2,4-3,10)
- OK - game is played correctly #18 (3,5-2,0)
- OK - game is played correctly #19 (3,3-2,0)
- OK - game is played correctly #20 (2,5-4,0)
- OK - game is played correctly #21 (3,3-3,0)
- OK - game is played correctly #22 (3,3-0,0)
- OK - game is played correctly #23 (1,3-1,0)
- OK - points, track0
- OK - points, track1
- OK - points, track2
- OK - points, track3
test_playableNumbers
- OK - any domino valid at first
- OK - Must have been valid domino play.
- OK - only 5 and 6 (no spinner)
- OK - Must have been valid domino play.
- OK - only 5 and 6 still (with spinner)
- OK - Must have been valid domino play.
- OK - 4, 5, 6
- OK - Must have been valid domino play.
- OK - 3, 4, 5, 6
- OK - Must have been valid domino play.
- OK - 2, 3, 4, 5 (six is now covered)
- OK - Must have been valid domino play.
- OK - 0, 3, 4, 5 (covered the two)