Debian Codegraph @

test cases/python3/2 extmodule/blaster.py

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