org.apache.velocity.test
Class ArithmeticTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.velocity.test.ArithmeticTestCase
All Implemented Interfaces:
junit.framework.Test

public class ArithmeticTestCase
extends junit.framework.TestCase

Test arithmetic operations. Introduced after extending from Integer-only to Number-handling.

Author:
Peter Romianowski

Constructor Summary
ArithmeticTestCase(String testName)
           
 
Method Summary
static junit.framework.Test suite()
           
 void testAdd()
           
 void testCompare()
           
 void testDivide()
           
 void testIsZero()
          Test additional functions
 void testModulo()
           
 void testMultiply()
           
 void testSubtract()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArithmeticTestCase

public ArithmeticTestCase(String testName)
Method Detail

suite

public static junit.framework.Test suite()

testAdd

public void testAdd()

testSubtract

public void testSubtract()

testMultiply

public void testMultiply()

testDivide

public void testDivide()

testModulo

public void testModulo()

testCompare

public void testCompare()

testIsZero

public void testIsZero()
Test additional functions



Copyright © 2002 Apache Software Foundation. All Rights Reserved.