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

Method testSetPathColorStd

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

Test of setPathColor method, of class World.

()

Source from the content-addressed store, hash-verified

514 * Test of setPathColor method, of class World.
515 */
516 @Test
517 public void testSetPathColorStd() {
518 System.out.println("setPathColor");
519
520 Color color = Color.GREEN;
521 World instance = new World("MyWorld");
522 instance.setPathColorStd(color);
523 Color result = instance.getPathColorStd();
524 assertEquals(color, result);
525
526 try {
527 instance.setPathColorStd(null);
528 fail();
529 } catch(Exception ex){
530 // expected
531 }
532 }
533
534 /**
535 * Test of setPathColorNstd method, of class World.

Callers

nothing calls this directly

Calls 2

setPathColorStdMethod · 0.95
getPathColorStdMethod · 0.95

Tested by

no test coverage detected