Sign in
qemu
/
meson
/
e25b61b5c2e8c0451558d022a759290d14c1b916
/
.
/
test cases
/
python3
/
2 extmodule
/
blaster.py
blob: 529b02840eb15ea9330751421d865022b0ecbff3 [
file
] [
log
] [
blame
]
#!/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
)