|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectps2.test.DrivingRouteFormatterTest
public class DrivingRouteFormatterTest extends Object
Unit tests for the DrivingRouteFormatter class.
| Constructor and Description |
|---|
DrivingRouteFormatterTest()
|
| Modifier and Type | Method and Description |
|---|---|
void |
setupBeforeTests()
|
void |
testDistance()
Test rounding distance, especially if rounded up to 0.1 and rounded down to 0.0. |
void |
testLongRoute()
Long route with no repeats. |
void |
testRepeatedRoute()
Just like long route, but different makeup of geosegements. |
void |
testRepeatedSegment()
Two step route with one geo feature. |
void |
testShortDirections()
Test simple directions with one distance and one origHeading. |
void |
testTurning()
Test turning directions with different origHeadings. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DrivingRouteFormatterTest()
| Method Detail |
|---|
public void setupBeforeTests()
public void testShortDirections()
throws IOException
IOExceptionpublic void testTurning()
public void testDistance()
public void testRepeatedSegment()
public void testLongRoute()
public void testRepeatedRoute()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||