Commit b664bf90 authored by Claudio Scafuri's avatar Claudio Scafuri 💬
Browse files

check new tabel

parent 64b5eaf6
......@@ -10,7 +10,8 @@ import compressor_calc
class Test(unittest.TestCase):
def setUp(self):
self.opa = compressor_calc.compressor_calc('../etc/fel01/Compressor_300_365-FEL01.txt')
basedir = '/home/claudio/src/gitlab/cs/etc/'
self.opa = compressor_calc.compressor_calc(basedir + 'fel01/Compressor_238_265-FEL01.txt')
def tearDown(self):
......@@ -20,13 +21,13 @@ class Test(unittest.TestCase):
pass
def test_value(self):
l1 = 342
l2 = 310.0
l1 = 264.5
l2 = 238.5
print('position :',l1, self.opa.get_position(l1))
print('position :',l2, self.opa.get_position(l2))
def testTable(self):
def test_table(self):
l = self.opa.get_min_lambda()
lmax = self.opa.get_max_lambda()
print(l, lmax)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment