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