udwTest

package
v0.0.0-...-f254aa5 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: MIT Imports: 12 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllocSizeDiff

func AllocSizeDiff(fn func()) uint64

func AssertPanic

func AssertPanic(f func()) (out interface{})

func AssertPanicWithErrorMessage

func AssertPanicWithErrorMessage(f func(), errorMsgList ...string)

func Benchmark

func Benchmark(fn func())

func BenchmarkSetBytePerRun

func BenchmarkSetBytePerRun(sizePerRun int)

func BenchmarkSetName

func BenchmarkSetName(name string)

func BenchmarkSetNamePadding

func BenchmarkSetNamePadding(namePadding int)

func BenchmarkSetNum

func BenchmarkSetNum(num int)

func BenchmarkWithRepeatNum

func BenchmarkWithRepeatNum(num int, fn func())

func BenchmarkWithThread

func BenchmarkWithThread(threadNum int, perThreadNumber int, fn func())

func Equal

func Equal(get interface{}, expect interface{}, objList ...interface{})

func EqualStringListNoOrder

func EqualStringListNoOrder(a []string, b []string, objList ...interface{})

func Ok

func Ok(expectTrue bool, objList ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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