Ejemplo n.º 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
Ejemplo n.º 2
0
def create_game_state():
    c = Controller()
    game_state = c.start_button_pressed(color=(178, 58, 238),
                                        player_name='Ash')
    return game_state
Ejemplo n.º 3
0
def create_game_state():
    c = Controller()
    game_state = c.start_button_pressed(color=(87, 112, 219),
                                        player_name='Ash')
    return game_state