public void Ex8Test_MultipleResults() { string startingChar = "N"; string endingChar = "i"; string[] expectedResult = { "Nairobi", "New Delhi" }; ExercisesPart1 exercises = new ExercisesPart1(); string[] actualResult = exercises.Ex8(startingChar, endingChar); Assert.IsTrue(actualResult.SequenceEqual(expectedResult)); }
public void Ex8Test() { string startingChar = "P"; string endingChar = "S"; string[] expectedResult = { "Paris" }; ExercisesPart1 exercises = new ExercisesPart1(); string[] actualResult = exercises.Ex8(startingChar, endingChar); Assert.IsTrue(actualResult.SequenceEqual(expectedResult)); }