MCPcopy Create free account
hub / github.com/python/mypy / test_int_add

Method test_int_add

mypyc/test/test_emitfunc.py:167–170  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

165 self.assert_emit(Assign(self.m, self.n), "cpy_r_m = cpy_r_n;")
166
167 def test_int_add(self) -> None:
168 self.assert_emit_binary_op(
169 "+", self.n, self.m, self.k, "cpy_r_r0 = CPyTagged_Add(cpy_r_m, cpy_r_k);"
170 )
171
172 def test_int_sub(self) -> None:
173 self.assert_emit_binary_op(

Callers

nothing calls this directly

Calls 1

assert_emit_binary_opMethod · 0.95

Tested by

no test coverage detected