Skip to content

Commit

Permalink
Fixed a unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
tebadi committed Oct 29, 2024
1 parent e492d6e commit 15f0eba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_lc_l4_water.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def test_water_intertidal():
[104, 104, 104],
[103, 103, 103],
[102, 102, 101],
[101, 98, 98],
[101, 98, 100],
]

l34 = np.array(
Expand Down Expand Up @@ -286,5 +286,5 @@ def test_water_intertidal():
l4_water_classes = l4_water.water_classification(
xx, intertidal_mask, water_persistence
)

print(l4_water_classes.compute())
assert (l4_water_classes.compute() == expected_water_classes).all()

0 comments on commit 15f0eba

Please sign in to comment.