Author: jcouteau Date: 2009-04-28 18:42:55 +0000 (Tue, 28 Apr 2009) New Revision: 68 Modified: lutinj2r/trunk/src/test/java/org/codelutin/j2r/NetTest.java Log: Fixed integer test on Net engine Modified: lutinj2r/trunk/src/test/java/org/codelutin/j2r/NetTest.java =================================================================== --- lutinj2r/trunk/src/test/java/org/codelutin/j2r/NetTest.java 2009-04-28 16:25:41 UTC (rev 67) +++ lutinj2r/trunk/src/test/java/org/codelutin/j2r/NetTest.java 2009-04-28 18:42:55 UTC (rev 68) @@ -137,13 +137,13 @@ Assert.assertEquals("testing string", testString); } - /*@Test + @Test public void testInt() throws Exception { - engine.voidEval("a<-5"); + engine.voidEval("a<-as.integer(5)"); Integer testInteger = (Integer) engine.eval("a"); Integer toCompare = 5; Assert.assertEquals(toCompare, testInteger); - }*/ + } @Test public void testBool() throws Exception {