blaster.py 270 B

123456789101112131415
  1. #!/usr/bin/env python
  2. import sys
  3. import tachyon
  4. result = tachyon.phaserize('shoot')
  5. if not isinstance(result, int):
  6. print('Returned result not an integer.')
  7. sys.exit(1)
  8. if result != 1:
  9. print('Returned result {} is not 1.'.format(result))
  10. sys.exit(1)