adjusted test due to hidden operand dependencies

This commit is contained in:
JanLJL
2020-01-17 08:13:15 +01:00
parent 6d6d3b7ccb
commit 5b1c984552
4 changed files with 24 additions and 8 deletions

View File

@@ -49,7 +49,8 @@ class TestKerncraftAPI(unittest.TestCase):
)
self.assertEqual(kapi.get_port_occupation_cycles(), port_occupation)
self.assertEqual(kapi.get_total_throughput(), 2.0)
self.assertEqual(kapi.get_latency(), (1.0, 8.0))
# TODO: LCD 2 because of OF flag LCD --> still to discuss?
self.assertEqual(kapi.get_latency(), (2.0, 8.0))
def test_kerncraft_API_AArch64(self):
kapi = KerncraftAPI('tx2', self.code_AArch64)