Skip to content

Commit 162acf9

Browse files
authored
Merge pull request #139 from michaeltryby/dev
Update series test for end period inclusive
2 parents 6173b78 + a3c8b98 commit 162acf9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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)