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

Method testGetPlaces

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

Test of getPlaces method, of class Path.

()

Source from the content-addressed store, hash-verified

62 * Test of getPlaces method, of class Path.
63 */
64 @Test
65 public void testGetPlaces() {
66 System.out.println("getPlaces");
67
68 Path instance = new Path(places[0], "n", places[1], "s");
69 Place[] result = instance.getPlaces();
70 Place[] expResult = {places[0], places[1]};
71 assertArrayEquals(expResult, result);
72 }
73
74 /**
75 * Test of hasPlace method, of class Path.

Callers

nothing calls this directly

Calls 1

getPlacesMethod · 0.95

Tested by

no test coverage detected