blob: d41a3254b5a3972e240680b7c028e1062003e22e [file] [log] [blame]
Sergey Lyskoveae77442016-05-07 00:26:19 -04001#!/usr/bin/env python
2from __future__ import print_function
3
4from example import VectorInt, VectorA
5
6v_int = VectorInt(2)
7print( v_int.size() )
8
9print( bool(v_int) )
10
11v_int2 = VectorInt(2)
12print( v_int == v_int2 )
13
14v_int2[1] = 1
15print( v_int != v_int2 )
16
17v_int2.push_back(2)
18v_int2.push_back(3)
Sergey Lyskova315c7a2016-05-07 18:50:26 -040019v_int2.insert(0, 1)
20v_int2.insert(0, 2)
21v_int2.insert(0, 3)
Sergey Lyskoveae77442016-05-07 00:26:19 -040022print(v_int2)
23
24v_a = VectorA()