Add new test_values to tests case_all and case_all_rb_randint
authorCole Poirier <colepoirier@gmail.com>
Wed, 5 Aug 2020 21:02:47 +0000 (14:02 -0700)
committerCole Poirier <colepoirier@gmail.com>
Wed, 5 Aug 2020 21:02:47 +0000 (14:02 -0700)
src/soc/fu/mul/test/test_pipe_caller.py

index 1f27cefca9e00d41e811320e6112454508d68096..6fee0f6ac1572ec1b991823aa2a9d834fa17c929 100644 (file)
@@ -186,6 +186,11 @@ class MulTestCase(TestAccumulatorBase):
             0x1234_5678_8000_0000,
             0x1234_5678_FFFF_FFFF,
             0x1234_5678_7FFF_FFFF,
+            0xffffffff,
+            0x7fffffff,
+            0x80000000,
+            0xfffffffe,
+            0xfffffffd
         ]
 
         for instr in instrs:
@@ -222,6 +227,11 @@ class MulTestCase(TestAccumulatorBase):
             0x1234_5678_8000_0000,
             0x1234_5678_FFFF_FFFF,
             0x1234_5678_7FFF_FFFF,
+            0xffffffff,
+            0x7fffffff,
+            0x80000000,
+            0xfffffffe,
+            0xfffffffd
         ]
 
         for instr in instrs: