def setUp(self): self.f_x = 2.1 self.f_y = 5.6 self.d_x = pointerutils.Double(self.f_x) self.d_y = pointerutils.Double(self.f_y) self.p_x = pointerutils.PDouble(self.d_x) self.p_y = pointerutils.PDouble(self.d_y)
def setUp(self): TestInPlaceOperators.setUp(self) self._d_x = pointerutils.Double(self.f_x) self._d_y = pointerutils.Double(self.f_y) self.d_x = pointerutils.PDouble(self._d_x) self.d_y = pointerutils.PDouble(self._d_y)
def setUp(self): TestNumericConversion.setUp(self) self._d_x = pointerutils.Double(self.f_x) self.d_x = pointerutils.PDouble(self._d_x)
def setUp(self): TestArithmetic.setUp(self) self._d_x = pointerutils.Double(self.f_x) self._d_y = pointerutils.Double(self.f_y) self.d_x = pointerutils.PDouble(self._d_x) self.d_y = pointerutils.PDouble(self._d_y)
def test_1_init_double(self): self.d = pointerutils.Double(2.)
def setUp(self): TestRhichCompare.setUp(self) self._small = pointerutils.Double(self.f_small) self._large = pointerutils.Double(self.f_large) self.d_small = pointerutils.PDouble(self._small) self.d_large = pointerutils.PDouble(self._large)