2021-03-05 06:46:32 +08:00
|
|
|
#!/usr/bin/env python
|
2018-03-14 04:01:09 +08:00
|
|
|
|
|
|
|
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:
|
2021-03-05 06:46:32 +08:00
|
|
|
print('Returned result {} is not 1.'.format(result))
|
2018-03-14 04:01:09 +08:00
|
|
|
sys.exit(1)
|