Adding more tests

This commit is contained in:
ceikry 2022-04-26 20:35:56 -05:00
parent e8b8621cc6
commit ef14cf3bce

View file

@ -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))