def time_cpRepCode_to(self): cpRepCode.to68(153.0)
def test_to_minus_153_int(self): """TestRepCodeToFrom68CPython.test_02_c(): to68(0xBBB38000) -> -153.0 CPython.""" result = cpRepCode.to68(-153) self.assertEqual(result, 0xBBB38000)
def test_to_zero_int(self): """TestRepCodeToFrom68CPython.test_04_c(): to68(0x40000000) -> 0.0 CPython.""" self.assertEqual(cpRepCode.to68(0), 0x40000000)
def test_to_153_int(self): """TestRepCodeToFrom68CPython.test_01_c(): to68(0x444C8000) -> 153.0 CPython.""" self.assertEqual(cpRepCode.to68(153), 0x444C8000)