()
| 115 | |
| 116 | |
| 117 | def test_add_128(): |
| 118 | with exc_iter(INT128_VALUES, INT128_VALUES) as it: |
| 119 | for a, b in it: |
| 120 | c = a + b |
| 121 | if not (INT128_MIN <= c <= INT128_MAX): |
| 122 | assert_raises(OverflowError, mt.extint_add_128, a, b) |
| 123 | else: |
| 124 | d = mt.extint_add_128(a, b) |
| 125 | if c != d: |
| 126 | assert_equal(d, c) |
| 127 | |
| 128 | |
| 129 | def test_sub_128(): |
nothing calls this directly
no test coverage detected