File Coverage

t/typemap/container.xsi
Criterion Covered Total %
statement 6 6 100.0
branch 3 6 50.0
condition n/a
subroutine n/a
pod n/a
total 9 12 75.0


line stmt bran cond sub pod time code
1             MODE: INLINE
2             #include
3             #include
4              
5             using MapStringInt = std::map;
6             using MapIntBool = std::map;
7              
8             MODULE = MyTest::Typemap PACKAGE = MyTest::Container
9             PROTOTYPES: DISABLE
10              
11             std::vector std_vector_int(std::vector val) {
12 2           RETVAL = val;
13 1 50         }
14              
15             MapStringInt std_map_string_int(MapStringInt val) {
16 2           RETVAL = val;
17 1 50         }
18              
19             MapIntBool std_map_int_bool(MapIntBool val){
20 2           RETVAL = val;
21 1 50         }