def test_innermorphic(self, p, q): layout, blades = Cl(p, q) A = Frame(layout.randomV(p + q)) R = layout.randomRotor() B = Frame([R * a * ~R for a in A]) assert A.is_innermorphic_to(B)
def test_innermorphic(self): for p, q in [(2, 0), (3, 0), (4, 0)]: layout, blades = Cl(p, q) A = Frame(layout.randomV(p+q)) R = layout.randomRotor() B = Frame([R*a*~R for a in A]) self.assertTrue(A.is_innermorphic_to(B))
def test_innermorphic(self): for p, q in [(2, 0), (3, 0), (4, 0)]: layout, blades = Cl(p, q) A = Frame(layout.randomV(p + q)) R = layout.randomRotor() B = Frame([R * a * ~R for a in A]) self.assertTrue(A.is_innermorphic_to(B))
def test_frame_inv(self, p, q): layout, blades = Cl(p, q) A = Frame(layout.randomV(p + q)) self.check_inv(A)
def test_frame_inv(self): for p, q in [(2, 0), (3, 0), (4, 0)]: layout, blades = Cl(p, q) A = Frame(layout.randomV(p + q)) self.check_inv(A)
def test_innermorphic(self, p, q, rng): # noqa: F811 layout, blades = Cl(p, q) A = Frame(layout.randomV(p + q, rng=rng)) R = layout.randomRotor(rng=rng) B = Frame([R * a * ~R for a in A]) assert A.is_innermorphic_to(B)
def test_frame_inv(self, p, q, rng): # noqa: F811 layout, blades = Cl(p, q) A = Frame(layout.randomV(p + q, rng=rng)) self.check_inv(A)