Skip to content

Commit 99dead0

Browse files
author
Kasper Peeters
committed
Added test case for fixed join.
1 parent 1da5b2a commit 99dead0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/programming.cdb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,15 @@ def test14():
333333
ex4= join(ex1, ex2, ex3)
334334
assert(ex4==${A,C,D,E}$)
335335
print("Test 14g passed")
336+
ex1:= A;
337+
ex4 = join(ex1, Ex(""))
338+
assert(ex4==$A$)
339+
print("Test 14h passed")
340+
ex1:= A;
341+
ex2:= \comma{};
342+
ex4= join(ex1, ex2)
343+
assert(ex4==$A$)
344+
print("Test 14i passed")
336345

337346
test14()
338347

0 commit comments

Comments
 (0)