def test_dot(): z1 = Bicomplex(1, 2) z2 = Bicomplex(3, 4) z3 = z1.dot(z2) z4 = z1 * z2 assert_array_equal(z3.z1, z4.z1) assert_array_equal(z3.z2, z4.z2)
def test_dot(): z1 = Bicomplex(1, 2) z2 = Bicomplex(3, 4) z3 = z1.dot(z2) z4 = z1 * z2 np.testing.assert_array_equal(z3.z1, z4.z1) np.testing.assert_array_equal(z3.z2, z4.z2)