コード例 #1
0
def test_press_start_button_and_no_player_name():
    c = Controller()
    game_state = c.start_button_pressed(color=(178, 58, 238), player_name='')
    assert game_state is None
コード例 #2
0
def create_game_state():
    c = Controller()
    game_state = c.start_button_pressed(color=(178, 58, 238),
                                        player_name='Ash')
    return game_state
コード例 #3
0
def create_game_state():
    c = Controller()
    game_state = c.start_button_pressed(color=(87, 112, 219),
                                        player_name='Ash')
    return game_state