random

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlphaNumericString

func AlphaNumericString(t *testing.T, maxLength uint) string

func Bool

func Bool(t *testing.T) bool

func Float32

func Float32(t *testing.T) float32

func Float64

func Float64(t *testing.T) float64

func PositiveInt

func PositiveInt(t *testing.T) int

intの範囲に収まる正の整数を返す

func PositiveIntN

func PositiveIntN(t *testing.T, n uint) int

[1, n]の整数を返す

func PtrOrNil

func PtrOrNil[T any](t *testing.T, value T) *T

func SelectFrom

func SelectFrom[T any](t *testing.T, items ...T) T

func Time

func Time(t *testing.T) time.Time

Types

This section is empty.

Jump to

Keyboard shortcuts

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