Ejemplo n.º 1
0
        public void Values()
        {
            var tp = new TestParser();

            tp.SetContext(" 1.5 hello 3 #fff #612 2px /*comment*/1em 5% 'bouh'");
            tp.ExpectValue("1.5");
            tp.ExpectValue("hello");
            tp.ExpectValue("3");
            tp.ExpectValue("#fff");
            tp.ExpectValue("#612");
            tp.ExpectValue("2px");
            tp.ExpectValue("1em");
            tp.ExpectValue("5%");
            tp.ExpectValue("'bouh'");
        }