--- /dev/null
+def regressions():
+ yield 0, 0
+ yield 0x3FF0000000000000, 0x4000000000000000
+ yield 0x4000000000000000, 0x3FF0000000000000
+ yield 0x4056C00000000000, 0x4042800000000000
+ yield 0x4056C00000000000, 0x4042EA3D70A3D70A
+ yield 0x3ff00000000000c5, 0xbd28a404211fb72b
+ yield 0x7f80000000000000, 0xff80000000000000
--- /dev/null
+""" test of FPADDMuxInOut
+"""
+
+from ieee754.fpadd.pipeline import (FPADDMuxInOut,)
+from ieee754.fpcommon.test.case_gen import run_pipe_fp
+from ieee754.fpcommon.test import unit_test_double
+from ieee754.fpadd.test.add_data64 import regressions
+
+from sfpy import Float64
+from operator import add
+
+
+def test_pipe_fp64():
+ dut = FPADDMuxInOut(64, 4)
+ run_pipe_fp(dut, 64, "add", unit_test_double, Float64,
+ regressions, add, 10)
+
+
+if __name__ == '__main__':
+ test_pipe_fp64()