Test of setRecLevelMax method, of class Place.
()
| 320 | * Test of setRecLevelMax method, of class Place. |
| 321 | */ |
| 322 | @Test |
| 323 | public void testSetRecLevelMax() { |
| 324 | System.out.println("setRecLevelMax"); |
| 325 | |
| 326 | Place instance = new Place("MyPlace", 0, 0, layer); |
| 327 | |
| 328 | int recLevelMax1 = 0; |
| 329 | instance.setRecLevelMax(recLevelMax1); |
| 330 | int result1 = instance.getRecLevelMax(); |
| 331 | assertEquals(recLevelMax1, result1); |
| 332 | |
| 333 | int recLevelMax2 = 4; |
| 334 | instance.setRecLevelMax(recLevelMax2); |
| 335 | int result2 = instance.getRecLevelMax(); |
| 336 | assertEquals(recLevelMax2, result2); |
| 337 | |
| 338 | int recLevelMax3 = -1; |
| 339 | instance.setRecLevelMax(recLevelMax3); |
| 340 | int result3 = instance.getRecLevelMax(); |
| 341 | assertEquals(recLevelMax3, result3); |
| 342 | } |
| 343 | |
| 344 | /** |
| 345 | * Test of getInfoRing method, of class Place. |
nothing calls this directly
no test coverage detected