go/src/slices/sort_test.go

var ints

var float64s

var strs

func TestSortIntSlice(t *testing.T) {}

func TestSortFuncIntSlice(t *testing.T) {}

func TestSortFloat64Slice(t *testing.T) {}

func TestSortStringSlice(t *testing.T) {}

func TestSortLarge_Random(t *testing.T) {}

type intPair

type intPairs

// Pairs compare on a only.
func intPairCmp(x, y intPair) int {}

// Record initial order in B.
func (d intPairs) initB() {}

// InOrder checks if a-equal elements were not reordered.
// If reversed is true, expect reverse ordering.
func (d intPairs) inOrder(reversed bool) bool {}

func TestStability(t *testing.T) {}

type S

func cmpS(s1, s2 S) int {}

func TestMinMax(t *testing.T) {}

func TestMinMaxNaNs(t *testing.T) {}

func TestMinMaxPanics(t *testing.T) {}

func TestBinarySearch(t *testing.T) {}

func TestBinarySearchInts(t *testing.T) {}

func TestBinarySearchFloats(t *testing.T) {}

func TestBinarySearchFunc(t *testing.T) {}