public void HasClassTrue() { Assert.True(ClassEditor.HasClass("aaa", "aaa")); Assert.True(ClassEditor.HasClass("aaa b", "aaa")); Assert.True(ClassEditor.HasClass("b aaa", "aaa")); Assert.True(ClassEditor.HasClass(" aaa", "aaa")); Assert.True(ClassEditor.HasClass("cc aaa ddd", "aaa")); }
public void EmptyClassFalse() { Assert.False(ClassEditor.HasClass("", "lele")); }
public void HasEmptyClassTrue() { Assert.True(ClassEditor.HasClass("", "")); }