aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/python/2 extmodule/blaster.py.in
blob: b690b4092ada75b4261a27581a4d825b185d445d (plain)
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(f'Returned result {result} is not 1.')