go/src/runtime/minmax_test.go

var zero

var negZero

var inf

var negInf

var nan

var tests

var all

func eq(x, y float64) bool {}

func TestMinFloat(t *testing.T) {}

func TestMaxFloat(t *testing.T) {}

// testMinMax tests that min/max behave correctly on every pair of
// values in vals.
//
// vals should be a sequence of values in strictly ascending order.
func testMinMax[T int | uint8 | string](t *testing.T, vals ...T) {}

func TestMinMaxInt(t *testing.T)    {}

func TestMinMaxUint8(t *testing.T)  {}

func TestMinMaxString(t *testing.T) {}

// TestMinMaxStringTies ensures that min(a, b) returns a when a == b.
func TestMinMaxStringTies(t *testing.T) {}

func BenchmarkMinFloat(b *testing.B) {}

func BenchmarkMaxFloat(b *testing.B) {}