예제 #1
0
파일: ssi.cpp 프로젝트: madsravn/synth
unit_test(sanity check) {
    string_template_type const t("");
    ensure_equals(t.render_to_string(), "");
}}}
예제 #2
0
파일: django.cpp 프로젝트: madsravn/synth
unit_test(missing tag) {
    string_template_type const t("{% xyz 42 %}");
    ensure_throws(s::missing_tag, t.render_to_string(context));
}}}
예제 #3
0
파일: tmpl.cpp 프로젝트: ajg/synth
AJG_SYNTH_TEST_UNIT(sanity check) {
    string_template_type const t("");
    MUST_EQUAL(t.render_to_string(context), "");
}}}