Home | History | Annotate | Download | only in test

Lines Matching full:xcomplex

385         class xcomplex(complex):
387 return xcomplex(complex(self) + other)
391 return xcomplex(complex(self) + other)
395 return xcomplex(complex(self) * other)
399 return xcomplex(complex(self) / other)
402 return xcomplex(other / complex(self))
408 return xcomplex(complex(self) // other)
411 return xcomplex(other // complex(self))
414 return xcomplex(complex(self) ** other)
417 return xcomplex(other ** complex(self) )
420 return xcomplex(complex(self) % other)
423 return xcomplex(other % complex(self))
426 xcomplex_values = (xcomplex(1), xcomplex(123.0),
427 xcomplex(-10+2j), xcomplex(3+187j),
428 xcomplex(3-78j))
429 test_values = (1, 123.0, 10-19j, xcomplex(1+2j),
430 xcomplex(1+87j), xcomplex(10+90j))
437 self.assertTrue(type(eval(a)) is type(eval(b)) is xcomplex)