Exemplo n.º 1
0
def test_count_trees_slope_1_2():
    assert count_trees_w_slope(sample_input, 1, 2) == 2
Exemplo n.º 2
0
def test_count_trees_slope_5_1():
    assert count_trees_w_slope(sample_input, 5, 1) == 3
Exemplo n.º 3
0
def test_count_trees_slope_7_1():
    assert count_trees_w_slope(sample_input, 7, 1) == 4
Exemplo n.º 4
0
def test_count_trees_slope_3_1():
    assert count_trees_w_slope(sample_input, 3, 1) == 7