Exemple #1
0
        public void ConvertScssToCss(string scssSelector, string result)
        {
            var scss = ScssBuilder.Create(scssSelector);

            Assert.AreEqual(result, scss.Css);
            Assert.IsEmpty(scss.Xpath);
        }
Exemple #2
0
        public void Run(string scssSelector1, string scssSelector2, string resultXpath, string resultCss)
        {
            var scss1      = ScssBuilder.Create(scssSelector1);
            var scss2      = ScssBuilder.Create(scssSelector2);
            var resultScss = scss1.Concat(scss2);

            Assert.AreEqual(resultXpath, resultScss.Xpath);
            Assert.AreEqual(resultCss, resultScss.Css);
        }