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