public void TestReservation() { AdditionalMethods model = new AdditionalMethods(); model.AddGuest("Łucja", "Wołkowicz", "Polish"); model.DisplayRooms().Add(new Room(1, 200, RoomType.doublebed)); model.AddReservation(1, RoomType.doublebed); Assert.AreEqual(1, model.DisplayGuests()[0].NrofRoom); }
//dodaje rezerwację public void AddButtonReservation() { model.AddReservation(IdRobocze); this.OnPropertyChanged(); this.OdswiezShowedList(); }