Test of setRecLevelMin method, of class Place.
()
| 263 | * Test of setRecLevelMin method, of class Place. |
| 264 | */ |
| 265 | @Test |
| 266 | public void testSetRecLevelMin() { |
| 267 | System.out.println("setRecLevelMin"); |
| 268 | |
| 269 | int recLevelMin1 = 0; |
| 270 | Place instance = new Place("MyPlace", 0, 0, layer); |
| 271 | instance.setRecLevelMin(recLevelMin1); |
| 272 | int result1 = instance.getRecLevelMin(); |
| 273 | assertEquals(recLevelMin1, result1); |
| 274 | |
| 275 | int recLevelMin2 = 10; |
| 276 | instance.setRecLevelMin(recLevelMin2); |
| 277 | int result2 = instance.getRecLevelMin(); |
| 278 | assertEquals(recLevelMin2, result2); |
| 279 | |
| 280 | int recLevelMin3 = -2; |
| 281 | instance.setRecLevelMin(recLevelMin3); |
| 282 | int result3 = instance.getRecLevelMin(); |
| 283 | assertEquals(recLevelMin3, result3); |
| 284 | |
| 285 | int recLevelMin4 = 0; |
| 286 | instance.setRecLevelMin(recLevelMin4); |
| 287 | int result4 = instance.getRecLevelMin(); |
| 288 | assertEquals(recLevelMin4, result4); |
| 289 | } |
| 290 | |
| 291 | /** |
| 292 | * Test of getRecLevelMax method, of class Place. |
nothing calls this directly
no test coverage detected