test ":" in random_expression
This commit is contained in:
parent
5e6cec5f58
commit
8c424a94c9
|
@ -121,7 +121,7 @@ def desc_rdExp(rdExp):
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
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]"]
|
cond = ["{a} + {b} in [1, 2, 3, 4, 5]", "{a} not in [0,1]", "{b} not in [0,1]"]
|
||||||
rdExp1 = RdExpression(form, cond)
|
rdExp1 = RdExpression(form, cond)
|
||||||
desc_rdExp(rdExp1)
|
desc_rdExp(rdExp1)
|
||||||
|
|
Loading…
Reference in New Issue