Skip to content
Snippets Groups Projects
Commit e5df3f6a authored by Tu, Ethan's avatar Tu, Ethan
Browse files

Fixing unit testin

parent b433d7a7
No related branches found
No related tags found
No related merge requests found
......@@ -36,10 +36,9 @@ def test_pk1_init():
def test_pk1_diff_file():
"""This is a test for initializing the pk1comp class
with a specific chosen file"""
pk2 = pk_one_comp(filename='CTPERF005_stress.csv')
pk2 = pk_one_comp(filename='CTPERF005_rest.csv')
#Test directory is same as one given
assert pk2.wd == pathlib.Path('Data').absolute()
assert pk2.filename == 'CTPERF005_stress.csv'
assert pk2.filename == 'CTPERF005_rest.csv'
assert pk2.flow == 1/60
assert pk2.visf == 0.15
assert pk2.baseline == 60
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment