Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.truffle.sl.test/src/com/oracle/truffle/sl/test/SumTest.java @ 9258:07f8d136a05e
Truffle API changes for the Frame API. Introduction of Assumptions class.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Tue, 23 Apr 2013 15:34:06 +0200 |
parents | b2161263e9f2 |
children |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.sl.test/src/com/oracle/truffle/sl/test/SumTest.java Tue Apr 23 15:08:11 2013 +0200 +++ b/graal/com.oracle.truffle.sl.test/src/com/oracle/truffle/sl/test/SumTest.java Tue Apr 23 15:34:06 2013 +0200 @@ -28,19 +28,19 @@ public class SumTest extends AbstractTest { private static String[] INPUT = new String[] { -"function main { ", -" i = 0; ", -" sum = 0; ", -" while (i < 100000) { ", -" sum = sum + 1000000; ", -" i = i + 1; ", -" } ", -" return sum; ", -"} ", + "function main { ", + " i = 0; ", + " sum = 0; ", + " while (i < 100000) { ", + " sum = sum + 1000000; ", + " i = i + 1; ", + " } ", + " return sum; ", + "} ", }; private static String[] OUTPUT = new String[] { -"100000000000", + "100000000000", }; @Test