Skip to content

Commit

Permalink
Further update test_basic_multivector_operations
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Mar 28, 2024
1 parent 8a25658 commit 54462f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ def test_basic_multivector_operations(self):
assert str(A) == 'A + A__xy*e_x^e_y'

assert str((X|A)) == 'A__xy*(-(e_x.e_y)*X__x - (e_y.e_y)*X__y)*e_x + A__xy*((e_x.e_x)*X__x + (e_x.e_y)*X__y)*e_y'
assert str((X<A)) == '-A__xy*((e_x.e_y)*X__x + (e_y.e_y)*X__y)*e_x + A__xy*((e_x.e_x)*X__x + (e_x.e_y)*X__y)*e_y'
assert str((A>X)) == 'A__xy*((e_x.e_y)*X__x + (e_y.e_y)*X__y)*e_x - A__xy*((e_x.e_x)*X__x + (e_x.e_y)*X__y)*e_y'
assert str((X<A)) == 'A__xy*(-(e_x.e_y)*X__x - (e_y.e_y)*X__y)*e_x + A__xy*((e_x.e_x)*X__x + (e_x.e_y)*X__y)*e_y'
assert str((A>X)) == 'A__xy*((e_x.e_y)*X__x + (e_y.e_y)*X__y)*e_x + A__xy*(-(e_x.e_x)*X__x - (e_x.e_y)*X__y)*e_y'


o2d = Ga('e*x|y', g=[1, 1])
Expand Down

0 comments on commit 54462f7

Please sign in to comment.