sorttest

package
v0.0.0-...-af5de91 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BenchmarkInt

func BenchmarkInt(b *testing.B, sortFn func([]int))

BenchmarkInt is a helper for benchmarking sort functions that sort integer slices.

func BenchmarkInterface

func BenchmarkInterface(b *testing.B, sortFn func(sort.Interface))

BenchmarkInterface is a helper for benchmarking sort functions that sort using the sort.Interface.

func TestInt

func TestInt(t *testing.T, sortFn func([]int))

TestInt is a helper for testing functions that sort integer slices.

func TestInterface

func TestInterface(t *testing.T, sortFn func(sort.Interface))

TestInterface is a helper for testing functions that sort using sort.Interface.

func TestString

func TestString(t *testing.T, sortFn func([]string))

TestString is a helper for testing functions that sort stringeger slices.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL