From b84a1242c449efaf23c50d7389e9c5cc3b8e9ded Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Fri, 17 Feb 2017 14:59:04 +0100 Subject: Add tests for more binary operators --- testing/templates/operators.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'testing/templates') diff --git a/testing/templates/operators.html b/testing/templates/operators.html index 750f0aa..1488b9a 100644 --- a/testing/templates/operators.html +++ b/testing/templates/operators.html @@ -7,3 +7,27 @@ {% if a % c == b -%} mod {%- endif -%} +{% if a + b == c -%} + add +{%- endif -%} +{% if a << b == c -%} + rsh +{%- endif -%} +{% if c >> b == a -%} + lsh +{%- endif -%} +{% if a & b == b -%} + band +{%- endif -%} +{% if b ^ c == a + c -%} + bxor +{%- endif -%} +{% if b | c == a + c -%} + bor +{%- endif -%} +{% if a == b && a + b == c -%} + and +{%- endif -%} +{% if a == c || a == b -%} + or +{%- endif -%} -- cgit