(self)
| 798 | ) |
| 799 | |
| 800 | def test_long_unsigned(self) -> None: |
| 801 | a = Register(int64_rprimitive, "a") |
| 802 | self.assert_emit( |
| 803 | Assign(a, Integer(1 << 31, int64_rprimitive)), """cpy_r_a = 2147483648LL;""" |
| 804 | ) |
| 805 | self.assert_emit( |
| 806 | Assign(a, Integer((1 << 31) - 1, int64_rprimitive)), """cpy_r_a = 2147483647;""" |
| 807 | ) |
| 808 | |
| 809 | def test_long_signed(self) -> None: |
| 810 | a = Register(int64_rprimitive, "a") |
nothing calls this directly
no test coverage detected