|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
uk.ac.ed.inf.utils.tests.UtilsTest
public class UtilsTest
Class
| Constructor Summary | |
|---|---|
UtilsTest()
|
|
| Method Summary | |
|---|---|
void |
testClass()
public void testBigDecimal(){ this.testBigDecimalGeneric(0.0, 1.0, 0.1); this.testBigDecimalGeneric(0.0, 1.0, 0.2); this.testBigDecimalGeneric(0.0, 1.0, 0.3); } public void testDoubleIncrements1(){ this.testDoubleIncrementsBigDecimal(0.0, 10.0, 0.1); this.testDoubleIncrementsBigDecimal(0.0, 1.0, 0.1); this.testDoubleIncrementsBigDecimal(0.0, 1.0, 0.2); this.testDoubleIncrementsBigDecimal(0.0, 1.0, 0.3); // is not well rounded this.testDoubleIncrementsBigDecimal(0.0, 1.7, 0.3); // increment is null Vector |
void |
testDoubleIncrements2()
|
void |
testIncrementsUtil()
|
void |
testIntegerIncrements(java.lang.Integer min,
java.lang.Integer max,
java.lang.Double incrementAsPercentageOfMaxValue)
|
void |
testObjectIncrements()
|
void |
testSeries()
|
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, getName, run, run, runBare, setName, 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, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UtilsTest()
| Method Detail |
|---|
public void testClass()
public void testDoubleIncrements2()
public void testIncrementsUtil()
public void testIntegerIncrements(java.lang.Integer min,
java.lang.Integer max,
java.lang.Double incrementAsPercentageOfMaxValue)
public void testObjectIncrements()
public void testSeries()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||