1 52 53 package freemarker.testcase; 54 55 56 60 public class TestArithmetic extends AbstractTestCase { 61 62 63 64 public TestArithmetic( String aTestname ) { 65 super( aTestname ); 66 } 67 68 71 public void setUp() { 72 setUpFiles( "test-arithmetic.html" ); 73 root.put("foo", new Integer (1234)); 74 root.put("bar", new Float (23.77)); 75 } 76 77 79 public static void main( String [] argc ) throws Exception { 80 AbstractTestCase cTest = new TestArithmetic( "test-arithmetic.html" ); 81 cTest.run(); 82 } 83 } 84 | Popular Tags |