aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates/operators.html
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-02-17 14:34:24 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-02-17 14:34:24 +0100
commit1121af3dd03bb000b935036232b11ae4f284195e (patch)
tree592c710cb89541df19ac86da18d82dacd9921b75 /testing/templates/operators.html
parent22cd667f4ea414884217d8fb37ccd4e3e1369f5a (diff)
downloadaskama-1121af3dd03bb000b935036232b11ae4f284195e.tar.gz
askama-1121af3dd03bb000b935036232b11ae4f284195e.tar.bz2
askama-1121af3dd03bb000b935036232b11ae4f284195e.zip
Split comparison tests from other operators
Diffstat (limited to 'testing/templates/operators.html')
-rw-r--r--testing/templates/operators.html54
1 files changed, 3 insertions, 51 deletions
diff --git a/testing/templates/operators.html b/testing/templates/operators.html
index 020126b..750f0aa 100644
--- a/testing/templates/operators.html
+++ b/testing/templates/operators.html
@@ -1,57 +1,9 @@
-{% if a == b -%}
- t
-{%- endif -%}
-{% if a == c -%}
- t
-{%- else -%}
- f
-{%- endif %}
-{% if a != c -%}
- t
-{%- endif %}
-{%- if a != b -%}
- t
-{%- else -%}
- f
-{%- endif %}
-{% if c >= b -%}
- t
-{%- endif -%}
-{% if b >= c -%}
- t
-{%- else -%}
- f
-{%- endif %}
-{% if c > b -%}
- t
-{%- endif -%}
-{% if a > c -%}
- t
-{%- else -%}
- f
-{%- endif %}
-{% if a <= b -%}
- t
-{%- endif -%}
-{% if c <= b -%}
- t
-{%- else -%}
- f
-{%- endif %}
-{% if a < c -%}
- t
-{%- endif %}
-{%- if a < b -%}
- t
-{%- else -%}
- f
-{%- endif %}
{% if a * c > b -%}
mul
-{%- endif %}
+{%- endif -%}
{% if c / c == a -%}
div
-{%- endif %}
+{%- endif -%}
{% if a % c == b -%}
mod
-{%- endif %}
+{%- endif -%}