blaster.py 271 B

123456789101112131415
  1. #!/usr/bin/env python3
  2. import tachyon
  3. import sys
  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)