Skip to content

Commit 7b414a0

Browse files
committed
Fix test
1 parent 0f963b6 commit 7b414a0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/implicit.cdb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def test02():
2121
A::ImplicitIndex(A_{a b});
2222
B::ImplicitIndex(B_{a b});
2323
ex:= Tr( A B A C B ) - Tr( C );
24-
untrace(_);
24+
untrace(_)
2525
tst:= C Tr( A B A B ) - C Tr(1) - @(ex);
2626
assert(tst==0)
2727
print("Test 02 passed")
@@ -34,7 +34,7 @@ def test03():
3434
\sigma^{\mu}::ImplicitIndex(\sigma^{\mu a}_{b});
3535
Tr{#}::Trace(indices=spinor);
3636
ex:= Tr( \sigma^{\mu} q \sigma^{\nu} );
37-
untrace(_);
37+
untrace(_)
3838
tst:= q Tr( \sigma^{\mu} \sigma^{\nu} ) - @(ex);
3939
assert(tst==0)
4040
print("Test 03 passed")
@@ -54,7 +54,7 @@ def test05():
5454
__cdbkernel__=create_scope()
5555
{a,b,c,d}::Indices(vector);
5656
ex:=(A)_{a b} (B)_{b c} (C)_{c d};
57-
combine(_);
57+
combine(_)
5858
tst:= (A B C)_{a d} - @(ex);
5959
assert(tst==0)
6060
print("Test 05 passed")
@@ -65,7 +65,7 @@ def test06():
6565
__cdbkernel__=create_scope()
6666
{a,b}::Indices(vector);
6767
ex:=(A)_{a b} (B)_{b a};
68-
combine(_);
68+
combine(_)
6969
tst:= (B A)_{b b} - @(ex);
7070
assert(tst==0)
7171
print("Test 06 passed")
@@ -79,7 +79,7 @@ def test07():
7979
\Gamma^{m}::ImplicitIndex(\Gamma^{m a}_{b});
8080
\Gamma^{m}::Matrix;
8181
ex:=(\Gamma^{m} \Gamma^{n})^{a}_{c};
82-
expand(_);
82+
expand(_)
8383
tst:= (\Gamma^{m})^{a}_{b} (\Gamma^{n})^{b}_{c} - @(ex);
8484
assert(tst==0)
8585
print("Test 07 passed")
@@ -90,8 +90,8 @@ def test08():
9090
__cdbkernel__=create_scope()
9191
{a,b}::Indices(vector);
9292
ex:=(u)_{a} (M)^{a b} (v)_{b};
93-
combine(_);
94-
tst:= (u M v) - @(ex);
93+
combine(_)
94+
tst:= \indexbracket(u M v) - @(ex);
9595
assert(tst==0)
9696
print("Test 08 passed")
9797

0 commit comments

Comments
 (0)