From 8c424a94c9bfc4f8f09d67fb29646ebc76b31d90 Mon Sep 17 00:00:00 2001 From: lafrite Date: Sun, 19 Jan 2014 18:44:54 +0100 Subject: [PATCH] test ":" in random_expression --- random_expression.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/random_expression.py b/random_expression.py index edac8b0..2a81215 100644 --- a/random_expression.py +++ b/random_expression.py @@ -121,7 +121,7 @@ def desc_rdExp(rdExp): if __name__ == '__main__': - form = "{a}*-14 / 2*{b} + -23" + form = "{a}*-14 / (2*{b}) : -23 / 4" cond = ["{a} + {b} in [1, 2, 3, 4, 5]", "{a} not in [0,1]", "{b} not in [0,1]"] rdExp1 = RdExpression(form, cond) desc_rdExp(rdExp1)