summaryrefslogtreecommitdiff
path: root/Examples/test-suite/python/li_std_map_member_runme.py
blob: d20442472764abe559c7e43a5d902cba6543ccc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
import li_std_map_member

a = li_std_map_member.mapita()
a[1] = li_std_map_member.TestA()

if (a[1].i != 1):
    raise RuntimeError("a[1] != 1")

a[1].i = 2
if (a[1].i != 2):
    raise RuntimeError("a[1] != 2")