tests.apologies.test_game

Module Contents

class tests.apologies.test_game.TestCard
test_constructor()
class tests.apologies.test_game.TestDeck
test_constructor()
test_draw_and_discard()
class tests.apologies.test_game.TestPosition
test_constructor()
test_copy()
test_move_to_position_valid_start()
test_move_to_position_valid_home()
test_move_to_position_valid_safe()
test_move_to_position_valid_square()
test_move_to_position_invalid_multiple()
test_move_to_position_invalid_none()
test_move_to_position_invalid_safe()
test_move_to_position_invalid_square()
test_move_to_start()
test_move_to_home()
test_move_to_safe_valid()
test_move_to_safe_invalid()
test_move_to_square_valid()
test_move_to_square_invalid()
class tests.apologies.test_game.TestPawn
test_constructor()
test_constructor_with_name()
class tests.apologies.test_game.TestPlayer
test_constructor()
test_copy()
test_find_first_pawn_in_start()
test_all_pawns_in_home()
class tests.apologies.test_game.TestHistory
test_constructor()
test_str()
class tests.apologies.test_game.TestPlayerView
test_constructor()
test_copy()
test_get_pawn()
test_all_pawns()
class tests.apologies.test_game.TestGame
test_constructor_2_players_standard()
test_constructor_3_players_standard()
test_constructor_4_players_standard()
test_constructor_invalid_players()
test_started()
test_completed_and_winner()
test_copy()
test_json_roundtrip()
test_track_no_player()
test_track_with_color()
test_create_player_view_invalid()
test_create_player_view()