2 from pallanguli
import *
5 maxseeds
= BOARD_SIZE
* SEEDS_PER_CUP
6 p1
= Player(maxseeds
- (SEEDS_PER_CUP
-1))
10 def test_board_simple():
11 player_store
= BOARD_SIZE
* SEEDS_PER_CUP
12 b
= Board(Player(player_store
),
15 assert len(b
) == BOARD_SIZE
* 2, "Board must be twice the length"
18 assert seeds
== SEEDS_PER_CUP
21 assert b
[BOARD_SIZE
*2+2] == b
[2]