2016-02-13 03:57:31 +08:00
|
|
|
#!/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:
|
2021-03-05 06:16:11 +08:00
|
|
|
print(f'Returned result {result} is not 1.')
|
2016-02-13 03:57:31 +08:00
|
|
|
sys.exit(1)
|