public void StripWhitespace_TextWithoutWhitespace_TextIntact() { string item = "some text without whitespace"; var result = HtmlCleaner.StripWhitespace(item); Assert.Equal(item, result); }
public void StripWhitespace_TextWithWhitespace_WhitespaceRemoved() { string item = "some text with \nwhitespace "; var result = HtmlCleaner.StripWhitespace(item); Assert.Equal("some text with whitespace", result); }