summaryrefslogtreecommitdiffstats
path: root/test cases/python/8 different python versions/blaster.py
blob: 163b6d4267f94035e2e63e8c840ac5679fa30e53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env python

import sys
import tachyon

result = tachyon.phaserize('shoot')

if not isinstance(result, int):
    print('Returned result not an integer.')
    sys.exit(1)

if result != 1:
    print('Returned result {} is not 1.'.format(result))
    sys.exit(1)