public class AbstractCoordinateTestCase extends TestCase2
TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
AbstractCoordinateTestCase() |
AbstractCoordinateTestCase(String arg0) |
Modifier and Type | Method and Description |
---|---|
void |
assertEquals(CoordinateDD expected,
CoordinateDD actual)
Asserts that two
CoordinateDD s are equal. |
void |
assertEquals(CoordinateDDM expected,
CoordinateDDM actual)
Asserts that two
CoordinateDDM s are equal. |
void |
assertEquals(CoordinateDMS expected,
CoordinateDMS actual)
Asserts that two
CoordinateDMS s are equal. |
void |
assertEquals(ICoordinate expected,
ICoordinate actual) |
void |
assertEquals(String msg,
ICoordinate expected,
ICoordinate actual) |
protected double |
round(double d,
int digitsAfterTheDecimal)
Round off a double precision number to a given number of digits after the
decimal.
|
protected double |
round1(double d)
Round off a double precision number to 1 digit after the decimal.
|
protected double |
round2(double d)
Round off a double precision number to 2 digits after the decimal.
|
protected double |
round5(double d)
Round off a double precision number to 5 digits after the decimal.
|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsWithinUlps, assertSameArray, assertSameArray, assertSameBigDecimal, assertSameBigDecimal, assertSameBigInteger, assertSameBigInteger, assertSameIterator, assertSameIterator, assertSameIteratorAnyOrder, assertSameIteratorAnyOrder, assertSameValue, assertSameValue, assertZeroUlps, assertZeroUlps, fail, getInnerCause, getNormalInt, getProjectBuildPath, getProperties, getRandomObject, getRandomObject, getRandomOrder, getRandomString, getTestInputStream, getTestResource, getTestResource, getUlps, getUlps, isDEBUG, isDEBUG, isINFO, isINFO, isInnerCause, logProperties
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
public AbstractCoordinateTestCase()
public AbstractCoordinateTestCase(String arg0)
arg0
- public void assertEquals(ICoordinate expected, ICoordinate actual)
public void assertEquals(String msg, ICoordinate expected, ICoordinate actual)
public void assertEquals(CoordinateDD expected, CoordinateDD actual)
CoordinateDD
s are equal.expected
- actual
- public void assertEquals(CoordinateDMS expected, CoordinateDMS actual)
CoordinateDMS
s are equal.expected
- actual
- public void assertEquals(CoordinateDDM expected, CoordinateDDM actual)
CoordinateDDM
s are equal.expected
- actual
- protected double round(double d, int digitsAfterTheDecimal)
d
- The value.digitsAfterTheDecimal
- protected double round1(double d)
d
- The value.protected double round2(double d)
d
- The value.protected double round5(double d)
d
- The value.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.