@@ -0,0 +1,1837 @@
+import junit.framework.*;%0A%0Apublic class AssignInExpr extends TestCase %7B%0A%0A    public void testExpr() %7B%0A        int a = 1, b = 2, c = 3;%0A%0A        a = b += c;%0A        Assert.assertEquals(b, 5);%0A        Assert.assertEquals(a, 5);%0A%0A        a = b += c += a;%0A        Assert.assertEquals(c, 8);%0A        Assert.assertEquals(b, 13);%0A        Assert.assertEquals(a, 13);%0A%0A        a = (b = 1) * (c = 10);%0A        Assert.assertEquals(a, 10);%0A        Assert.assertEquals(b, 1);%0A        Assert.assertEquals(a, 10);%0A%0A    %7D%0A%0A    public void testIf() %7B%0A        int a = 4, b = 6, c = 10;%0A%0A        if ((a +=b) == c) %7B%0A            c = 20;%0A        %7D%0A        Assert.assertEquals(a, 10);%0A        Assert.assertEquals(b, 6);%0A        Assert.assertEquals(c, 20);%0A    %7D%0A%0A    public void testWhile() %7B%0A        int i = 0;%0A%0A        while (++i %3C 10) %7B%0A            Assert.assertTrue(i %3C 10);%0A        %7D%0A        Assert.assertEquals(i, 10);%0A%0A    %7D%0A%0A    public void testDo() %7B%0A        int i = 0;%0A        do %7B%0A            Assert.assertTrue(i %3C 10);%0A        %7D while (++i %3C 10);%0A        Assert.assertEquals(i, 10);%0A    %7D%0A%0A    public void testPostIncDec() %7B%0A        int i = 0, j = 0, k = 0;%0A        i = j++;%0A        Assert.assertEquals(i, 0);%0A        Assert.assertEquals(j, 1);%0A%0A        if (++i == j++) %7B%0A            k = 3;%0A        %7D%0A        Assert.assertEquals(i, 1);%0A        Assert.assertEquals(j, 2);%0A        Assert.assertEquals(k, 3);%0A    %7D%0A%0A    public void testAndOr() %7B%0A        int i = 0, j = 0;%0A%0A        if (i++ == 1 && j++ == 1) %7B%0A            Assert.fail(%22and test fail%22);%0A        %7D else %7B%0A            Assert.assertEquals(i, 1);%0A            Assert.assertEquals(j, 0);%0A        %7D%0A%0A        if (--i != 0 %7C%7C j-- == 0) %7B%0A            Assert.assertEquals(i, 0);%0A            Assert.assertEquals(j, -1);%0A        %7D else %7B%0A            Assert.fail(%22or test fail%22);%0A        %7D%0A%0A    %7D%0A%0A%7D%0A

Add assign in expression testcase