public virtual void TestMissingAll() { HamletImpl.ParseSelector(string.Empty); }
public virtual void TestNormal() { string[] res = HamletImpl.ParseSelector("#id.class"); NUnit.Framework.Assert.AreEqual("id", res[SId]); NUnit.Framework.Assert.AreEqual("class", res[SClass]); }
public virtual void TestMissingClass() { string[] res = HamletImpl.ParseSelector("#id"); NUnit.Framework.Assert.AreEqual("id", res[SId]); NUnit.Framework.Assert.IsNull(res[SClass]); }