Test of getExitDirections method, of class Path.
()
| 88 | * Test of getExitDirections method, of class Path. |
| 89 | */ |
| 90 | @Test |
| 91 | public void testGetExitDirections() { |
| 92 | System.out.println("getExitDirections"); |
| 93 | |
| 94 | String dir1 = "n", dir2 = "s"; |
| 95 | Path instance = new Path(places[0], dir1, places[1], dir2); |
| 96 | String[] expResult = {dir1, dir2}; |
| 97 | String[] result = instance.getExitDirections(); |
| 98 | assertArrayEquals(expResult, result); |
| 99 | } |
| 100 | |
| 101 | /** |
| 102 | * Test of getExit method, of class Path. |
nothing calls this directly
no test coverage detected