public void ParseRusLine_Test() { // Arrange var processor = new LineProcessor(); var expectedResult = GetExpectedRusResult(); // Act var actualResult = processor.Process(testRusLine); // Assert AssertWordItemsCollectionsEquality(expectedResult, actualResult); }
public void ParseLineWithoutWords_Test() { // Arrange var processor = new LineProcessor(); var expectedResult = new List<WordItem>(); // Act var actualResult = processor.Process(testWithoutWordsLine); // Assert AssertWordItemsCollectionsEquality(expectedResult, actualResult); }