diff options
Diffstat (limited to 'Examples/test-suite/python/li_carrays_runme.py')
| -rw-r--r-- | Examples/test-suite/python/li_carrays_runme.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Examples/test-suite/python/li_carrays_runme.py b/Examples/test-suite/python/li_carrays_runme.py new file mode 100644 index 0000000..ad48eab --- /dev/null +++ b/Examples/test-suite/python/li_carrays_runme.py @@ -0,0 +1,9 @@ +from li_carrays import * + +d = doubleArray(10) + +d[0] = 7 +d[5] = d[0] + 3 + +if d[5] + d[0] != 17: + raise RuntimeError |
