Skip to content

Commit bd98994

Browse files
author
Kasper Peeters
committed
Add test for new zoom flag.
1 parent a8cf776 commit bd98994

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/selecting.cdb

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,17 @@ def test10():
187187

188188
test10()
189189

190+
def test11():
191+
__cdbkernel__=create_scope()
192+
ex:=A D + A B C D E;
193+
zoom(_, $A D$, partial=False)
194+
substitute(ex, $A->Q$)
195+
unzoom(_)
196+
tst:= Q D + A B C D E - @(ex);
197+
assert(tst==0)
198+
print("Test 11 passed")
199+
200+
test11()
190201

191202
#def test08():
192203
#

0 commit comments

Comments
 (0)