tests/bitwise.py | raw changeset files shortlog |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tests/bitwise.py Thu Sep 24 21:29:29 2009 +0200 1.3 @@ -0,0 +1,12 @@ 1.4 +#!/usr/bin/env python 1.5 + 1.6 +a = 1 1.7 +b = 2 1.8 +c = 3 1.9 + 1.10 +result_0 = a & b 1.11 +result_1 = a | a & b 1.12 +result_2 = b & c 1.13 +result_3 = a | b 1.14 + 1.15 +# vim: tabstop=4 expandtab shiftwidth=4