MCPcopy Create free account
hub / github.com/Neop/mudmap2 / testGetExitDirections

Method testGetExitDirections

src/test/java/mudmap2/backend/PathTest.java:90–99  ·  view source on GitHub ↗

Test of getExitDirections method, of class Path.

()

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 1

getExitDirectionsMethod · 0.95

Tested by

no test coverage detected