From: Andrey Miroshnikov Date: Wed, 11 Oct 2023 11:46:39 +0000 (+0000) Subject: Add assert X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cee5da62c6dc93c48c2125709855fa618d11a776;p=openpower-isa.git Add assert --- diff --git a/src/openpower/decoder/isa/test_caller_svp64_matrix.py b/src/openpower/decoder/isa/test_caller_svp64_matrix.py index f7d55cc3..bd4c6b34 100644 --- a/src/openpower/decoder/isa/test_caller_svp64_matrix.py +++ b/src/openpower/decoder/isa/test_caller_svp64_matrix.py @@ -94,9 +94,7 @@ class DecoderTestCase(FHDLTestCase): for i in range(4): print("maddld-matrix i", i, results[i]) # confirm that the results are as expected - # for i, (t, u) in enumerate(res): - # self.assertEqual(sim.fpr(i+2), t) - # self.assertEqual(sim.fpr(i+6), u) + self.assertEqual(results, expected) def test_sv_remap1(self): """>>> lst = ["svshape 2, 2, 3, 0, 0",