projects
/
ieee754fpu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replace run_test with run_fpunit to avoid nosetest auto-name-detect
[ieee754fpu.git]
/
src
/
ieee754
/
fpadd
/
test
/
test_add64.py
diff --git
a/src/ieee754/fpadd/test/test_add64.py
b/src/ieee754/fpadd/test/test_add64.py
index dcca12c62dbd7d59a583fcd411686b1cd7483427..ec16563ead93204f1f6b268e6c163ab321b2d223 100644
(file)
--- a/
src/ieee754/fpadd/test/test_add64.py
+++ b/
src/ieee754/fpadd/test/test_add64.py
@@
-11,7
+11,7
@@
from random import seed
from unit_test_double import (get_mantissa, get_exponent, get_sign, is_nan,
is_inf, is_pos_inf, is_neg_inf,
from unit_test_double import (get_mantissa, get_exponent, get_sign, is_nan,
is_inf, is_pos_inf, is_neg_inf,
- match, get_case, check_case, run_
tes
t,
+ match, get_case, check_case, run_
fpuni
t,
run_edge_cases, run_corner_cases)
run_edge_cases, run_corner_cases)
@@
-31,7
+31,7
@@
def testbench(dut):
#regression tests
stimulus_a = [0x3ff00000000000c5, 0xff80000000000000]
stimulus_b = [0xbd28a404211fb72b, 0x7f80000000000000]
#regression tests
stimulus_a = [0x3ff00000000000c5, 0xff80000000000000]
stimulus_b = [0xbd28a404211fb72b, 0x7f80000000000000]
- yield from run_
tes
t(dut, stimulus_a, stimulus_b, add)
+ yield from run_
fpuni
t(dut, stimulus_a, stimulus_b, add)
count += len(stimulus_a)
print (count, "vectors passed")
count += len(stimulus_a)
print (count, "vectors passed")