PageRenderTime 6ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/python/li_carrays_runme.py

#
Python | 9 lines | 6 code | 3 blank | 0 comment | 1 complexity | 11af7a1b1afa7b2ec04de0100abf576d MD5 | raw file
1from li_carrays import *
2
3d = doubleArray(10)
4
5d[0] = 7
6d[5] = d[0] + 3
7
8if d[5] + d[0] != 17:
9    raise RuntimeError