swig/Examples/test-suite/python/li_std_map_member_runme.py
Jon Schlueter b77f3afafb autopep8 cleanup of Examples/test-suite/python
automated cleanup of python pep8 whitespace compliance
2015-05-08 21:35:52 -04:00

11 lines
211 B
Python

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")