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

Method testHasPlace

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

Test of hasPlace method, of class Path.

()

Source from the content-addressed store, hash-verified

75 * Test of hasPlace method, of class Path.
76 */
77 @Test
78 public void testHasPlace() {
79 System.out.println("hasPlace");
80
81 Path instance = new Path(places[0], "n", places[1], "s");
82 assertTrue(instance.hasPlace(places[0]));
83 assertTrue(instance.hasPlace(places[1]));
84 assertFalse(instance.hasPlace(places[2]));
85 }
86
87 /**
88 * Test of getExitDirections method, of class Path.

Callers

nothing calls this directly

Calls 1

hasPlaceMethod · 0.95

Tested by

no test coverage detected