diff --git a/mtl/test_eval.py b/mtl/test_eval.py new file mode 100644 index 0000000..d6a80c3 --- /dev/null +++ b/mtl/test_eval.py @@ -0,0 +1,13 @@ +import mtl + + +def test_eval_regression_smoke1(): + """From issue #215""" + d2 = { + 'a': [ + (0, True), (1, True), (3, True), (4, True), (5, False), (6, True) + ], + 'b': [(0, False), (3, True)], + } + f2 = mtl.parse('(a U[0,3] b)') + f2(d2, quantitative=False)