public void Should_lower_case_sentence_correction(string mispelled, string expected) { var spelling = new Spelling(); // Act string actual = spelling.CorrectSentence(mispelled); // Assert Assert.AreEqual(expected, actual); }
public void Should_correct_sentences(string mispelled, string expected) { // Arrange var spelling = new Spelling(); // Act string actual = spelling.CorrectSentence(mispelled); // Assert Assert.AreEqual(expected, actual); }
public void should_correct_sentences(string mispelled, string expected) { // Arrange string dictionary = File.ReadAllText("big.txt"); var spelling = new Spelling(dictionary); // Act string actual = spelling.CorrectSentence(mispelled); // Assert Assert.AreEqual(expected, actual); }