blob: 071362bc3e23c0a597b7556ec47bf98421ca6939 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
import preproc
if preproc.endif != 1:
raise RuntimeError
if preproc.define != 1:
raise RuntimeError
if preproc.defined != 1:
raise RuntimeError
if 2 * preproc.one != preproc.two:
raise RuntimeError
if preproc.methodX(99) != 199:
raise RuntimeError
t1 = preproc.tcxMessageTest()
t2 = preproc.tcxMessageBug()
|