aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-02-17 15:44:12 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-02-17 15:44:12 +0100
commitaec7c73b2aa83d43a02d4afe7ee1a42480cdfda2 (patch)
treea3734b10e7a3d7fe2189217a7978c83e5960ad36
parent58b3c1c283480db2ec7f72a211dcc1d4e7dd51a9 (diff)
downloadaskama-aec7c73b2aa83d43a02d4afe7ee1a42480cdfda2.tar.gz
askama-aec7c73b2aa83d43a02d4afe7ee1a42480cdfda2.tar.bz2
askama-aec7c73b2aa83d43a02d4afe7ee1a42480cdfda2.zip
Add test template (forgotten in 1121af3dd0)
-rw-r--r--testing/templates/compare.html48
1 files changed, 48 insertions, 0 deletions
diff --git a/testing/templates/compare.html b/testing/templates/compare.html
new file mode 100644
index 0000000..ea22546
--- /dev/null
+++ b/testing/templates/compare.html
@@ -0,0 +1,48 @@
+{% 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 %}