Python test for multiline
This commit is contained in:
parent
7228c86d72
commit
0af82fb225
8
tests_dir/multiline_optimization.py
Normal file
8
tests_dir/multiline_optimization.py
Normal file
@ -0,0 +1,8 @@
|
||||
from relational.optimizer import optimize_program
|
||||
|
||||
a = optimize_program('''ppl_skills = people ⧓skills
|
||||
ppl_skills1 = ppl_skills ∪ (people ⧓skills)
|
||||
ppl_skills ∩ ppl_skills1 ⧓ dates''', {})
|
||||
|
||||
assert a == '''optm_a = people⧓skills
|
||||
optm_b = optm_a⧓dates'''
|
Loading…
Reference in New Issue
Block a user