diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-09-05 20:38:22 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-09-05 20:38:22 +0300 |
commit | 273340cc9eba4c09794367440d4018a70b489087 (patch) | |
tree | 2a4b61cfe21a8976956521bd033e900776dfa87c /test cases/unit/39 python extmodule/blaster.py | |
parent | 289c1bf91992c167e8ec4292f2584a4add7f5485 (diff) | |
download | meson-testcondense.tar.gz |
Condense test dirs.testcondensedircondenser
Diffstat (limited to 'test cases/unit/39 python extmodule/blaster.py')
-rwxr-xr-x | test cases/unit/39 python extmodule/blaster.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test cases/unit/39 python extmodule/blaster.py b/test cases/unit/39 python extmodule/blaster.py new file mode 100755 index 000000000..163b6d426 --- /dev/null +++ b/test cases/unit/39 python extmodule/blaster.py @@ -0,0 +1,14 @@ +#!/usr/bin/env python + +import sys +import tachyon + +result = tachyon.phaserize('shoot') + +if not isinstance(result, int): + print('Returned result not an integer.') + sys.exit(1) + +if result != 1: + print('Returned result {} is not 1.'.format(result)) + sys.exit(1) |