/trunk/Examples/test-suite/python/grouping_runme.py
Python | 14 lines | 10 code | 4 blank | 0 comment | 2 complexity | a2458db66db1a6f8fba71037863026b9 MD5 | raw file
1import grouping 2 3x = grouping.test1(42) 4if x != 42: 5 raise RuntimeError 6 7grouping.test2(42) 8 9x = grouping.do_unary(37, grouping.NEGATE) 10if x != -37: 11 raise RuntimeError 12 13grouping.cvar.test3 = 42 14grouping.test3 = 42