/*public void RefreshData() * { * PensionGuests = resbook.GuestList; * PensionRooms = resbook.RoomList; * }*/ //przykładowa dane public void ExampleData() { model.AddGuest("Marcin", "Wolkowicz", "Polish"); model.AddGuest("Łucja", "Wolkowicz", "Polish"); model.AddGuest("Franek", "Wolkowicz", "Polish"); model.AddRooms(RoomType.doublebed); model.AddRooms(RoomType.doublebed); model.AddRooms(RoomType.doublebed); }
public void TestAddRooms() { AdditionalMethods model = new AdditionalMethods(); model.AddRooms(RoomType.single); Assert.AreEqual(1, model.DisplayRooms().Count); }