Files
RedBear-OS/local/recipes/dev/meson/source/test cases/python/2 extmodule/blaster.py.in
T

12 lines
270 B
Python
Executable File

#!/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))