PageRenderTime 27ms CodeModel.GetById 25ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/tests/assert_templates/if_else_simple.tpl

http://github.com/crodas/Haanga
Smarty Template | 8 lines | 8 code | 0 blank | 0 comment | 19 complexity | 411ec243fe50a57d80b74dc7db2cc830 MD5 | raw file
1{% if 1 == 2 OR  1+2 == 3 %}True{% else %}False{% endif %}
2{% if var|upper == var %}True{% else %}False{% endif %}
3{% if 1 === 2 OR  1+2 === 3 %}True{% else %}False{% endif %}
4{% if 1 !== 2 %}True{% else %}False{% endif %}
5{% if 1 > 2 %}True{% else %}False{% endif %}
6{% if 1 >= 2 %}True{% else %}False{% endif %}
7{% if 1 <= 2 %}True{% else %}False{% endif %}
8{% if 1 < 2 %}True{% else %}False{% endif %}