Debian Codegraph @

test cases/python/12 rust extmodule/blaster.py

raw
1 #!/usr/bin/env python3
2
3 import tachyon
4
5 result = tachyon.phaserize('shoot')
6
7 if not isinstance(result, int):
8 raise SystemExit('Returned result not an integer.')
9
10 if result != 1:
11 raise SystemExit('Returned result {} is not 1.'.format(result))