Exemple #1
0
        public void Decleration()
        {
            RuleSet ruleSet = new RuleSet();

            ruleSet.AddDeclaration(new Stylesheets.Declaration {
                Property = "color", Value = "red"
            });
            Hash hash     = new Hash();
            var  hashcode = hash.GetHashCode(ruleSet);

            Assert.AreEqual("dqma-qdh", hashcode);
        }