Source

dem_waters_extractor / test.py

1
2
3
4
5
6
7
8
from demfunctions import fill_sinks

def test_fill_sinks():
    data = [[2,2,2,3,3],[3,2,1,1,3],[2,1,1,1,3],[2,2,2,2,3]]
    fill_sinks(data)

test_fill_sinks()