github.com/benz9527/toy-box/algo@v0.0.0-20240221120937-66c0c6bd5abd/sort/quick_test.go (about)

     1  package sort
     2  
     3  import (
     4  	"testing"
     5  )
     6  
     7  func TestQuickSort(t *testing.T) {
     8  	DataComparator(QuickSort, 1000, 1000, 100, true)
     9  }
    10  
    11  func TestQuickSort2(t *testing.T) {
    12  	DataComparator(QuickSort2, 1000, 1000, 100, true)
    13  }