Creates a StructWithArray containing 'x', 'y', 'z'.
| 133 | |
| 134 | // Creates a StructWithArray containing 'x', 'y', 'z'. |
| 135 | StructWithArray make_struct_with_array(int x, int y, int z) |
| 136 | { |
| 137 | StructWithArray s; |
| 138 | s.value = 0; |
| 139 | s.array[0] = x; |
| 140 | s.array[1] = y; |
| 141 | s.array[2] = z; |
| 142 | return s; |
| 143 | } |
| 144 | |
| 145 | BOOST_AUTO_TEST_CASE(struct_with_array) |
| 146 | { |
no outgoing calls
no test coverage detected