Esempio n. 1
0
def test_has_all_values_when_does_not_have_all_values():
    # given
    player_positions = [0, 2, 3]
    column = [0, 1, 2]

    # when
    result = has_all_values(player_positions, column)

    # then
    assert not result
Esempio n. 2
0
def test_has_all_values_when_has_all_values():
    # given
    player_positions = [0, 1, 2, 3, 4, 5]
    values = [0, 1, 2]

    # when
    result = has_all_values(player_positions, values)

    # then
    assert result