()
| 127 | |
| 128 | |
| 129 | def test_sub_128(): |
| 130 | with exc_iter(INT128_VALUES, INT128_VALUES) as it: |
| 131 | for a, b in it: |
| 132 | c = a - b |
| 133 | if not (INT128_MIN <= c <= INT128_MAX): |
| 134 | assert_raises(OverflowError, mt.extint_sub_128, a, b) |
| 135 | else: |
| 136 | d = mt.extint_sub_128(a, b) |
| 137 | if c != d: |
| 138 | assert_equal(d, c) |
| 139 | |
| 140 | |
| 141 | def test_neg_128(): |
nothing calls this directly
no test coverage detected