예제 #1
0
def test_is_a_row_when_is_not_a_row():
    # given
    nums = [0, 2, 3, 4]
    row_length = 3

    # when
    result = is_a_row(nums, row_length)

    # then
    assert not result
예제 #2
0
def test_is_a_row_when_is_a_row():
    # given
    nums = [3, 4, 5]
    row_length = 3

    # when
    result = is_a_row(nums, row_length)

    # then
    assert result