Test of setPathColorNstd method, of class World.
()
| 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. |
nothing calls this directly
no test coverage detected