aboutsummaryrefslogtreecommitdiff
path: root/test cases/unit/39 python extmodule/blaster.py
blob: 8bfe9cfb72143c6b64baaf54c62c30d5cfe8888f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env python3

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)