public void CppProsesorProcessFile_TxtFileGiven_ReturnsEmptyString() { // Arrange var path = @"E:\test.txt"; var expectedResult = string.Empty; var processor = new CppProcessor(); // Act var actualResult = processor.ProcessFile(path); // Assert Assert.AreEqual(expectedResult, actualResult); }
public void CppProsesorProcessFile_CppFileGiven_ReturnsPathWithSlash() { // Arrange var path = @"E:\test.cpp"; var expectedResult = @"E:\test.cpp/"; var processor = new CppProcessor(); // Act var actualResult = processor.ProcessFile(path); // Assert Assert.AreEqual(expectedResult, actualResult); }