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

Method testGetExit

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

Test of getExit method, of class Path.

()

Source from the content-addressed store, hash-verified

102 * Test of getExit method, of class Path.
103 */
104 @Test
105 public void testGetExit() {
106 System.out.println("getExit");
107
108 String dir1 = "n", dir2 = "s";
109 Path instance = new Path(places[0], dir1, places[1], dir2);
110 String result = instance.getExit(places[0]);
111 assertEquals(dir1, result);
112 result = instance.getExit(places[1]);
113 assertEquals(dir2, result);
114 }
115
116 /**
117 * Test of getOtherPlace method, of class Path.

Callers

nothing calls this directly

Calls 1

getExitMethod · 0.95

Tested by

no test coverage detected