Commit last-minute
This commit is contained in:
parent
b4a97a65ab
commit
0ba7189bfc
221 changed files with 139931 additions and 1 deletions
17
hydroshoot/test/test_architecture.py
Normal file
17
hydroshoot/test/test_architecture.py
Normal file
|
@ -0,0 +1,17 @@
|
|||
from os.path import dirname, join
|
||||
|
||||
from hydroshoot import architecture
|
||||
|
||||
Source_Dir = join(dirname(__file__), 'data')
|
||||
|
||||
|
||||
def test_cordon():
|
||||
g = architecture.vine_mtg(join(Source_Dir, 'digit_vsp.csv'))
|
||||
architecture.cordon_vector(g=g)
|
||||
|
||||
|
||||
def test_multiple_plants_digit():
|
||||
try:
|
||||
architecture.vine_mtg(file_path=join(Source_Dir, 'digit_twin_pots.csv'))
|
||||
except ValueError:
|
||||
pass
|
Loading…
Add table
Add a link
Reference in a new issue