(obj, assert)
| 145 | |
| 146 | |
| 147 | function assertValues(obj, assert) { |
| 148 | assert.equal(obj.struct_field.value, 'a'); |
| 149 | assert.equal(obj.struct_list_field[0].value, 'b'); |
| 150 | assert.equal(obj.struct_list_field[1].value, 'c'); |
| 151 | assert.equal(obj.struct_set_field[0].value, 'd'); |
| 152 | assert.equal(obj.struct_set_field[1].value, 'e'); |
| 153 | assert.equal(obj.struct_map_field.A.value, 'f'); |
| 154 | assert.equal(obj.struct_map_field.B.value, 'g'); |
| 155 | assert.equal(obj.struct_nested_containers_field[0][0].C[0].value, 'h'); |
| 156 | assert.equal(obj.struct_nested_containers_field[0][0].C[1].value, 'i'); |
| 157 | assert.equal(obj.struct_nested_containers_field2.D[0].DA.value, 'j'); |
| 158 | assert.equal(obj.struct_nested_containers_field2.D[1].DB.value, 'k'); |
| 159 | assert.equal(obj.list_of_list_field[0][0], 'one'); |
| 160 | assert.equal(obj.list_of_list_field[0][1], 'two'); |
| 161 | assert.equal(obj.list_of_list_field[1][0], 'three'); |
| 162 | assert.equal(obj.list_of_list_field[1][1], 'four'); |
| 163 | assert.equal(obj.list_of_list_field[2][0], 'five'); |
| 164 | assert.equal(obj.list_of_list_field[2][1], 'six'); |
| 165 | } |
| 166 | |
| 167 | const cases = { |
| 168 |
no outgoing calls
no test coverage detected