Test of getPathColors method, of class World.
()
| 497 | * Test of getPathColors method, of class World. |
| 498 | */ |
| 499 | @Test |
| 500 | public void testGetPathColors() { |
| 501 | System.out.println("getPathColors"); |
| 502 | |
| 503 | World instance = new World("MyWorld"); |
| 504 | HashMap<String, Color> result = instance.getPathColors(); |
| 505 | assertNotNull(result); |
| 506 | assertEquals(0, result.size()); |
| 507 | |
| 508 | instance.setPathColor("foo", Color.yellow); |
| 509 | result = instance.getPathColors(); |
| 510 | assertEquals(1, result.size()); |
| 511 | } |
| 512 | |
| 513 | /** |
| 514 | * Test of setPathColor method, of class World. |
nothing calls this directly
no test coverage detected