Skip to content

Commit

Permalink
Add test for new zoom flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasper Peeters committed Oct 24, 2024
1 parent a8cf776 commit bd98994
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/selecting.cdb
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,17 @@ def test10():

test10()

def test11():
__cdbkernel__=create_scope()
ex:=A D + A B C D E;
zoom(_, $A D$, partial=False)
substitute(ex, $A->Q$)
unzoom(_)
tst:= Q D + A B C D E - @(ex);
assert(tst==0)
print("Test 11 passed")

test11()

#def test08():
#
Expand Down

0 comments on commit bd98994

Please sign in to comment.