github.com/benz9527/toy-box/algo@v0.0.0-20240221120937-66c0c6bd5abd/sort/insert_test.go (about) 1 package sort 2 3 import ( 4 "testing" 5 ) 6 7 func TestInsertSortBenchmark(t *testing.T) { 8 DataComparator(InsertSort, 1000, 1000, 100, true) 9 } 10 11 func TestInsertSortBenchmarkSimplify(t *testing.T) { 12 DataComparator(InsertSortSimplify, 1000, 10, 100, true) 13 }