changeset 27:4c926e910b80

Add a test for BinOp.
author Bastien Orivel <eijebong@bananium.fr>
date Fri, 03 Jun 2016 23:44:38 +0200
parents 6582edc27d49
children bc3437ecb12b
files tests/test_parse_files/test_binop.py
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/tests/test_parse_files/test_binop.py
@@ -0,0 +1,13 @@
+a = 1 + 2
+a = 1 - 2
+a = 1 * 2
+a = 1 @ 2
+a = 1 / 2
+a = 1 % 2
+a = 1 ** 2
+a = 1 << 2
+a = 1 >> 2
+a = 1 | 2
+a = 1 ^ 2
+a = 1 & 2
+a = 1 // 2