public void EnsureUserEnteredColdClothsNumbersInCorrectOrderForSuccess() { CurrentDress returnedResult = CurrentDress.SortCloths(correctSequence, coldCloths); string actualResult = returnedResult.Dress; Assert.AreEqual(expectedTestResult, actualResult); }
public void EnsureFailureWhenUserInputContainsIncorrectHotClothsNumbericOrder() { CurrentDress returnedResult = CurrentDress.SortCloths(testWrongInput, hotCloths); string actualResult = returnedResult.Dress; Assert.AreEqual(wrongInputResult, actualResult); }
public void ForceFailueWhenUserInputContainsColdClothsWithIncorrectNumberOrder() { CurrentDress returnedResult = CurrentDress.SortCloths(oneNumberInput, coldCloths); string actualResult = returnedResult.Dress; Assert.AreEqual(wrongInputResult, actualResult); }
public void TestUserInputForAnyHotNumbersEnteredMoreThanOnce() { CurrentDress returnedResult = CurrentDress.SortCloths(testDupEntry, hotCloths); string actualResult = returnedResult.Dress; Assert.AreEqual(dupEntryResult, actualResult); }
public void EnsureUserEnteredHotNumbersInCorrectOrderForSuccess() { IList <string> hotCloths = new List <string>(cloths); string expectedResult = "Removing PJs, shorts, t-shirt, sun visor, sandals, leaving house"; CurrentDress returnedResult = CurrentDress.SortCloths(testCorrectInput, hotCloths); string actualResult = returnedResult.Dress; Assert.AreEqual(expectedResult, actualResult); }