예제 #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