()
| 89 | } |
| 90 | |
| 91 | func testLargeRoundtrip() { |
| 92 | input := make(test.NamesById) |
| 93 | for i := uint32(0); i < 100; i++ { |
| 94 | input[i] = fmt.Sprintf("value-%d", i) |
| 95 | } |
| 96 | result := test.LargeRoundtrip(input) |
| 97 | assertEqual(len(result), 100) |
| 98 | for i := uint32(0); i < 100; i++ { |
| 99 | assertEqual(result[i], fmt.Sprintf("value-%d", i)) |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | func testMultiParamRoundtrip() { |
| 104 | names := test.NamesById{ |
no test coverage detected