Skip to content

Commit 8264fee

Browse files
committed
Make series test end period inclusive
1 parent 9b818a6 commit 8264fee

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

swmm-toolkit/tests/test_output.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,12 @@ def test_getsubcatchseries(handle):
9696
0.040894926,
9797
0.011605669,
9898
0.00509294,
99-
0.0027438672])
99+
0.0027438672,
100+
0.0016718778])
100101

101102
test_array = output.get_subcatch_series(handle, 1, shared_enum.SubcatchAttribute.RUNOFF_RATE, 0, 10)
102103

103-
assert len(test_array) == 10
104+
assert len(test_array) == 11
104105
assert np.allclose(test_array, ref_array)
105106

106107

0 commit comments

Comments
 (0)