Skip to content

Commit d59faa1

Browse files
committed
Update implicit test
This adds a test that only passes now. We also need to change the seventh test because there is now a different preferred representation when combining a trace. Signed-off-by: Connor Behan <[email protected]>
1 parent ca0a694 commit d59faa1

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

tests/implicit.cdb

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def test06():
6666
{a,b}::Indices(vector);
6767
ex:=(A)_{a b} (B)_{b a};
6868
combine(_);
69-
tst:= (A B)_{b b} - @(ex);
69+
tst:= (B A)_{b b} - @(ex);
7070
assert(tst==0)
7171
print("Test 06 passed")
7272

@@ -86,3 +86,14 @@ def test07():
8686

8787
test07()
8888

89+
def test08():
90+
__cdbkernel__=create_scope()
91+
{a,b}::Indices(vector);
92+
ex:=(u)_{a} (M)^{a b} (v)_{b};
93+
combine(_);
94+
tst:= (u M v) - @(ex);
95+
assert(tst==0)
96+
print("Test 08 passed")
97+
98+
test08()
99+

0 commit comments

Comments
 (0)