mirror of
https://gitlab.com/qemu-project/meson.git
synced 2025-07-03 04:20:37 +08:00
15 lines
263 B
Python
Executable File
15 lines
263 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import tachyon
|
|
import sys
|
|
|
|
result = tachyon.phaserize('shoot')
|
|
|
|
if not isinstance(result, int):
|
|
print('Returned result not an integer.')
|
|
sys.exit(1)
|
|
|
|
if result != 1:
|
|
print(f'Returned result {result} is not 1.')
|
|
sys.exit(1)
|