From 6b3e622e9a3628e7ec08a67658a00829ab08deb3 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 30 Jan 2020 13:57:46 +0000 Subject: [PATCH] add comments --- src/ieee754/part/test/test_partsig.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ieee754/part/test/test_partsig.py b/src/ieee754/part/test/test_partsig.py index 5e003c68..aaf0dcbe 100644 --- a/src/ieee754/part/test/test_partsig.py +++ b/src/ieee754/part/test/test_partsig.py @@ -99,9 +99,11 @@ class TestPartitionPoints(unittest.TestCase): v |= 0xf << (i*4) mask_list.append(v) y = 0 + # do the partitioned tests for i, mask in enumerate(mask_list): if (a & mask) == (b & mask): y |= maskbit_list[i] + # check the result outval = (yield module.eq_output) msg = f"{msg_prefix}: 0x{a:X} + 0x{b:X}" + \ f" => 0x{y:X} != 0x{outval:X}, masklist %s" -- 2.30.2