Debian Codegraph @

test cases/python/8 different python versions/blaster.py

raw
1 #!/usr/bin/env python
2
3 import sys
4 import tachyon
5
6 result = tachyon.phaserize('shoot')
7
8 if not isinstance(result, int):
9 print('Returned result not an integer.')
10 sys.exit(1)
11
12 if result != 1:
13 print('Returned result {} is not 1.'.format(result))
14 sys.exit(1)