relational/tests_dir/multiline_optimization.py
Salvo 'LtWorf' Tomaselli 0af82fb225
Python test for multiline
2020-08-26 17:15:24 +02:00

9 lines
266 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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'''