diff options
| author | Damien George <damien.p.george@gmail.com> | 2015-01-29 00:44:11 +0000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2015-01-29 00:44:11 +0000 |
| commit | 12c66be2b8baab093c7be5e2108d2767c9779a69 (patch) | |
| tree | 7db0c4259eaae84cea25d79b3856fc08d863cef1 /tests/basics/unary_op.py | |
| parent | 81e70a88a7a4adb33c4a5d049c83f42d94e6332b (diff) | |
tests: Add some tests to improve coverage.
Used gcov to find some parts of vm.c, runtime.c, obj.c that were not
covered by any tests. Still need to use gcov more thoroughly.
Diffstat (limited to 'tests/basics/unary_op.py')
| -rw-r--r-- | tests/basics/unary_op.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/basics/unary_op.py b/tests/basics/unary_op.py index 9846285d5..3084c273e 100644 --- a/tests/basics/unary_op.py +++ b/tests/basics/unary_op.py @@ -1,3 +1,8 @@ +x = 1 +print(+x) +print(-x) +print(~x) + print(not None) print(not False) print(not True) |
