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

Method testSetPathColorNstd

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

Test of setPathColorNstd method, of class World.

()

Source from the content-addressed store, hash-verified

535 * Test of setPathColorNstd method, of class World.
536 */
537 @Test
538 public void testSetPathColorNstd() {
539 System.out.println("setPathColorNstd");
540
541 Color color = Color.YELLOW;
542 World instance = new World("MyWorld");
543 instance.setPathColorStd(color);
544 Color result = instance.getPathColorStd();
545 assertEquals(color, result);
546
547 try {
548 instance.setPathColorNstd(null);
549 fail();
550 } catch(Exception ex){
551 // expected
552 }
553 }
554
555 /**
556 * Test of getTileCenterColor method, of class World.

Callers

nothing calls this directly

Calls 3

setPathColorStdMethod · 0.95
getPathColorStdMethod · 0.95
setPathColorNstdMethod · 0.95

Tested by

no test coverage detected