mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-25 04:15:14 -06:00
Adding more tests
This commit is contained in:
parent
e8b8621cc6
commit
ef14cf3bce
1 changed files with 6 additions and 0 deletions
|
|
@ -41,6 +41,12 @@ class HouseManagerTests {
|
|||
Assertions.assertNotEquals(null, newManager.region.borders)
|
||||
}
|
||||
|
||||
@Test fun constructShouldSetUpdateAllPlanes() {
|
||||
val newManager = HouseManager()
|
||||
newManager.construct()
|
||||
Assertions.assertEquals(true, newManager.region.isUpdateAllPlanes)
|
||||
}
|
||||
|
||||
@Test fun createShouldPlaceGardenInRooms() {
|
||||
manager.createNewHouseAt(HouseLocation.RIMMINGTON)
|
||||
Assertions.assertEquals(true, manager.hasRoomAt(0, 4, 3))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue