2018-12-11 06:33:58 +08:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
|
|
|
|
import tachyon
|
|
|
|
|
|
|
|
result = tachyon.phaserize('shoot')
|
|
|
|
|
|
|
|
if not isinstance(result, int):
|
2020-07-12 21:08:04 +08:00
|
|
|
raise SystemExit('Returned result not an integer.')
|
2018-12-11 06:33:58 +08:00
|
|
|
|
|
|
|
if result != 1:
|
2020-07-12 21:08:04 +08:00
|
|
|
raise SystemExit('Returned result {} is not 1.'.format(result))
|