コード例 #1
0
def test_count_trees_slope_1_2():
    assert count_trees_w_slope(sample_input, 1, 2) == 2
コード例 #2
0
def test_count_trees_slope_5_1():
    assert count_trees_w_slope(sample_input, 5, 1) == 3
コード例 #3
0
def test_count_trees_slope_7_1():
    assert count_trees_w_slope(sample_input, 7, 1) == 4
コード例 #4
0
def test_count_trees_slope_3_1():
    assert count_trees_w_slope(sample_input, 3, 1) == 7