def test_equal_four(): x = Complex(2, -4) y = Complex(2, -4) assert x.__eq__(y) == True
def test_equal_two(): x = Complex(2, 4) y = Complex(2, 4) assert x.__eq__(y) == True
def test_equal_three(): x = Complex(-2, 4) y = Complex(4, -2) assert x.__eq__(y) == False
def test_equal_one(): #unit test for checking if two complex numbers are equal x = Complex(2, 4) y = Complex(4, 2) assert x.__eq__(y) == False