15 lines
271 B
Python
15 lines
271 B
Python
![]() |
#!/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('Returned result {} is not 1.'.format(result))
|
||
|
sys.exit(1)
|