void () { addTest(".b_m|bem", "<div class=\"b b_m\"></div>"); addTest(".b_m1._m2|bem", "<div class=\"b b_m1 b_m2\"></div>"); addTest(".b>._m|bem", "<div class=\"b\">\n\t<div class=\"b b_m\"></div>\n</div>"); addTest(".b>._m1>._m2|bem", "<div class=\"b\">\n\t<div class=\"b b_m1\">\n\t\t<div class=\"b b_m2\"></div>\n\t</div>\n</div>"); addTest(".b>.__e|bem", "<div class=\"b\">\n\t<div class=\"b__e\"></div>\n</div>"); addTest(".b>.-e|bem", "<div class=\"b\">\n\t<div class=\"b__e\"></div>\n</div>"); addTest(".b>.__e>.__e|bem", "<div class=\"b\">\n\t<div class=\"b__e\">\n\t\t<div class=\"b__e\"></div>\n\t</div>\n</div>"); addTest(".b>.__e1>.____e2|bem", "<div class=\"b\">\n\t<div class=\"b__e1\">\n\t\t<div class=\"b__e2\"></div>\n\t</div>\n</div>"); addTest(".b>.-e1>.-e2|bem", "<div class=\"b\">\n\t<div class=\"b__e1\">\n\t\t<div class=\"b__e2\"></div>\n\t</div>\n</div>"); addTest(".b1>.b2_m1>.__e1+.____e2_m2|bem", "<div class=\"b1\">\n\t<div class=\"b2 b2_m1\">\n\t\t<div class=\"b2__e1\"></div>\n\t\t<div class=\"b1__e2 b1__e2_m2\"></div>\n\t</div>\n</div>"); addTest(".b>.__e1>.__e2|bem", "<div class=\"b\">\n\t<div class=\"b__e1\">\n\t\t<div class=\"b__e2\"></div>\n\t</div>\n</div>"); addTest(".b>.__e1>.____e2|bem", "<div class=\"b\">\n\t<div class=\"b__e1\">\n\t\t<div class=\"b__e2\"></div>\n\t</div>\n</div>"); addTest(".b._mod|bem", "<div class=\"b b_mod\"></div>"); addTest("form.search-form._wide>input.-query-string+input:s.-btn_large|bem", "<form action=\"\" class=\"search-form search-form_wide\"><input type=\"text\" class=\"search-form__query-string\"><input\n" + " type=\"submit\" value=\"\" class=\"search-form__btn search-form__btn_large\"></form>"); addTest(".b1-div>.b2_m1>.-e1+.--e2_m2|bem", """ <div class="b1-div"> <div class="b2 b2_m1"> <div class="b2__e1"></div> <div class="b1-div__e2 b1-div__e2_m2"></div> </div> </div>"""); }