Skip to content

Commit 40bd318

Browse files
committed
mv this file under tests
1 parent b5a7b64 commit 40bd318

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

epyt/examples/python/EX_NewFunctions_2_3_EPANET.py renamed to epyt/tests/testFunctions_2_3.py

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
1-
from epyt import epanet
2-
3-
# inpfile = "Richmond_standard.inp"
1+
"""
2+
EPANET Python Toolkit (EPyT) Test Part 5
3+
This file is provided to ensure that all functions can be executed correctly.
4+
Step-by-step execution. You may also use breakpoints.
5+
"""
46

5-
# #Warning that a link is missing and the network is not fully connected
6-
# inpfile = "BrokenNetwork.inp"
7-
# d = epanet(inpfile)
8-
# d.unload()
7+
from epyt import epanet
98

109
inpfile = "Net1.inp"
1110
d = epanet(inpfile)
11+
# Setcurve
1212

13-
# d.getNodeNameID('dakjsdfhjksdfhsd')
14-
# setcurvetype functions
1513
d.setCurveTypePump(1)
1614
d.printv(d.getCurveType(1))
1715
d.setCurveTypeVolume(1)

0 commit comments

Comments
 (0)