public void TestAddBedSideMonitor() { IBay testBay = new Bay(); testBay.AddBedSideMonitor(); Assert.IsNotNull(testBay.BedsideMonitors[0]); }
public void TestRemoveBedsideMonitor() { IBay testBay = new Bay(2); testBay.RemoveBedsideMonitor(0); Assert.AreEqual(1, testBay.BedsideMonitors.Count); }
public void GetListOfBedsideMonitorsTest() { IBay testBay = new Bay(); testBay.AddBedSideMonitor(); IBay listOfBaysFromTestBay = new Bay(); listOfBaysFromTestBay.BedsideMonitors = testBay.GetListOfBedsideMonitors(); Assert.AreEqual(testBay.BedsideMonitors,listOfBaysFromTestBay.BedsideMonitors); }