diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-08-18 23:58:49 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-08-19 12:39:46 +0300 |
| commit | 972535a6ac9fb1f9611c1b68293f7df88ec1b1f7 (patch) | |
| tree | ed17817547da3e20c5c3080075c8924c24f6b3f9 /test cases/unit/38 python extmodule/blaster.py | |
| parent | edf901431272e5bb348e265113179c337f65a881 (diff) | |
| download | meson-972535a6ac9fb1f9611c1b68293f7df88ec1b1f7.tar.gz | |
Condense test dirs.
Diffstat (limited to 'test cases/unit/38 python extmodule/blaster.py')
| -rwxr-xr-x | test cases/unit/38 python extmodule/blaster.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test cases/unit/38 python extmodule/blaster.py b/test cases/unit/38 python extmodule/blaster.py new file mode 100755 index 000000000..163b6d426 --- /dev/null +++ b/test cases/unit/38 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) |
