From 716374eb831b9c822ff8d5e604956fa5f7d53b80 Mon Sep 17 00:00:00 2001 From: Sei Lisa Date: Sun, 27 Jul 2014 18:08:18 +0200 Subject: [PATCH] Add test cases that failed without the previous commit. --- testparser.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testparser.py b/testparser.py index a7d3a6a..87f4dde 100644 --- a/testparser.py +++ b/testparser.py @@ -225,6 +225,7 @@ class Test03_Optimizer(UnitTestCase): def test_coverage(self): p = self.parser.parse(''' float f=2+2; + float g = f; string s = "1" "2"; list L = [(key)""]; default{timer(){ @@ -232,7 +233,7 @@ class Test03_Optimizer(UnitTestCase): list a; float f; integer j = 3||4&&5|6^7&8.==9!=10.e+01f<11<=12>13.>=14<<15>>16==0&&3== - ++f-f++-(llFloor(f)<<3); + ++f-f++-(3 + llFloor(f)<<3 << 32) - 2 - 0; integer k = 2 + (3 * 25 - 4)/2 % 9; a = 3; a += !3; f += 4; f += -4.3;