mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2025-12-16 00:50:06 +01:00
updated assertion
This commit is contained in:
@@ -16,7 +16,9 @@ class TestOsaca(unittest.TestCase):
|
||||
osa = Osaca('IVB', curr_dir+'/testfiles/taxCalc-ivb-iaca', out)
|
||||
osa.inspect_with_iaca()
|
||||
result = out.getvalue()
|
||||
print(result)
|
||||
result = '\n'.join(result.split('\n')[-27:])
|
||||
# print(result)
|
||||
with open(curr_dir+'/test_osaca_iaca.out', encoding='utf-8') as f:
|
||||
assertion = f.read()
|
||||
self.assertEqual(result, assertion)
|
||||
self.assertEqual(assertion, result)
|
||||
|
||||
Reference in New Issue
Block a user