public void deskByFloorSuccess() { bool validDesk = true; List <Desk> deskList = _deskController.GetDesksByFloor(5); foreach (Desk desk in deskList) { validDesk = _validator.ValidateDeskNumber(desk.DeskNumber); validDesk = desk.Location.Floor == 5; } Assert.IsTrue(validDesk); }
public void DeskInsertedSuccessfully() { bool validation = _validator.ValidateDeskNumber(_deskNum); Assert.IsTrue(validation); }
public void TestValidateDeskNumber() { Assert.IsTrue(_validator.ValidateDeskNumber("5-1")); }