Mercurial > python-compiler.rs
view tests/test_parse_files/test_binop.py @ 27:4c926e910b80
Add a test for BinOp.
author | Bastien Orivel <eijebong@bananium.fr> |
---|---|
date | Fri, 03 Jun 2016 23:44:38 +0200 |
parents | |
children |
line wrap: on
line source
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