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

Method testWorld

src/test/java/mudmap2/backend/WorldTest.java:61–78  ·  view source on GitHub ↗

Test of constructors

()

Source from the content-addressed store, hash-verified

59 * Test of constructors
60 */
61 @Test
62 public void testWorld(){
63 System.out.println("World");
64
65 World instance1 = new World();
66 assertNotNull(instance1.getHome());
67 assertNotNull(instance1.getLayers());
68 assertNotNull(instance1.getName());
69 assertEquals("unnamed", instance1.getName());
70 assertNotNull(instance1.getPathColorStd());
71 assertNotNull(instance1.getPathColorNstd());
72 assertNotNull(instance1.getPathColors());
73 assertNotNull(instance1.getPlaceGroups());
74 assertNotNull(instance1.getPreferences());
75 assertNotNull(instance1.getInformationColors());
76 assertNotNull(instance1.getTileCenterColor());
77 assertNull(instance1.getWorldFile());
78 }
79
80 /**
81 * Test of constructors

Callers

nothing calls this directly

Calls 11

getHomeMethod · 0.95
getLayersMethod · 0.95
getNameMethod · 0.95
getPathColorStdMethod · 0.95
getPathColorNstdMethod · 0.95
getPathColorsMethod · 0.95
getPlaceGroupsMethod · 0.95
getPreferencesMethod · 0.95
getInformationColorsMethod · 0.95
getTileCenterColorMethod · 0.95
getWorldFileMethod · 0.95

Tested by

no test coverage detected