Skip to content

Commit 150f88d

Browse files
committed
Merge branch 'master' of github.com:kpeeters/cadabra2
2 parents db59195 + f1b425e commit 150f88d

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

tests/implicit.cdb

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,25 @@ def test04():
5050

5151
test04()
5252

53-
53+
def test05():
54+
__cdbkernel__=create_scope()
55+
{a,b,c,d}::Indices(vector);
56+
ex:=(A)_{a b} (B)_{b c} (C)_{c d};
57+
combine(_);
58+
tst:= (A B C)_{a d} - @(ex);
59+
assert(tst==0)
60+
print("Test 05 passed")
61+
62+
test05()
63+
64+
def test06():
65+
__cdbkernel__=create_scope()
66+
{a,b}::Indices(vector);
67+
ex:=(A)_{a b} (B)_{b a};
68+
combine(_);
69+
tst:= (A B)_{b b} - @(ex);
70+
assert(tst==0)
71+
print("Test 06 passed")
72+
73+
test06()
74+

0 commit comments

Comments
 (0)