test ":" in random_expression

This commit is contained in:
lafrite 2014-01-19 18:44:54 +01:00
parent 5e6cec5f58
commit 8c424a94c9

View File

@ -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)