File: blaster.py.in

package info (click to toggle)
muon-meson 0.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 13,532 kB
  • sloc: ansic: 67,766; python: 4,391; cpp: 1,983; sh: 709; javascript: 570; asm: 226; xml: 67; objc: 36; makefile: 29; modula3: 8; f90: 7
file content (11 lines) | stat: -rwxr-xr-x 270 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env python3

import @tachyon_module@ as tachyon

result = tachyon.phaserize('shoot')

if not isinstance(result, int):
    raise SystemExit('Returned result not an integer.')

if result != 1:
    raise SystemExit('Returned result {} is not 1.'.format(result))