|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.apache.velocity.test.ArithmeticTestCase
public class ArithmeticTestCase
Test arithmetic operations. Introduced after extending from Integer-only to Number-handling.
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 |
---|
public ArithmeticTestCase(String testName)
Method Detail |
---|
public static junit.framework.Test suite()
public void testAdd()
public void testSubtract()
public void testMultiply()
public void testDivide()
public void testModulo()
public void testCompare()
public void testIsZero()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |