From a6b4f305e948cdf327b45abe52b27a4d81013d5d Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Mon, 13 Feb 2017 21:55:47 +0100 Subject: Rename comparison tests to be about any operators --- testing/templates/operators.html | 48 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 testing/templates/operators.html (limited to 'testing/templates/operators.html') diff --git a/testing/templates/operators.html b/testing/templates/operators.html new file mode 100644 index 0000000..ea22546 --- /dev/null +++ b/testing/templates/operators.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 %} -- cgit