public void TestItReturnsNullIfNoComment() { Assert.Null(LineCommentParser.ParseComment("aline withno comment ")); }
public void TestItStripsWhitespaceFromData() { Assert.Equal("abc", LineCommentParser.ParseData("abc ;comment ")); }
public void TestItParsesData() { Assert.Equal("abc", LineCommentParser.ParseData("abc;comment ")); }
public void TestItReturnsNullIfNoData() { Assert.Equal("", LineCommentParser.ParseData(";comment ")); }
public void TestItStripsWhitespaceFromComment() { Assert.Equal("comment", LineCommentParser.ParseComment("aline witha ; comment ")); }
public void TestItParsesLineComment() { Assert.Equal("comment", LineCommentParser.ParseComment("aline witha ;comment")); }