This function generate consistent testcase for benchmark test.
()
| 59 | |
| 60 | // This function generate consistent testcase for benchmark test. |
| 61 | func generateBenchmarkTestCase() []int { |
| 62 | var testCase []int |
| 63 | for i := 0; i < 1000; i++ { |
| 64 | testCase = append(testCase, i) |
| 65 | } |
| 66 | return testCase |
| 67 | } |
no outgoing calls