Documentation ¶
Index ¶
- func AllocSizeDiff(fn func()) uint64
- func AssertPanic(f func()) (out interface{})
- func AssertPanicWithErrorMessage(f func(), errorMsgList ...string)
- func Benchmark(fn func())
- func BenchmarkSetBytePerRun(sizePerRun int)
- func BenchmarkSetName(name string)
- func BenchmarkSetNamePadding(namePadding int)
- func BenchmarkSetNum(num int)
- func BenchmarkWithRepeatNum(num int, fn func())
- func BenchmarkWithThread(threadNum int, perThreadNumber int, fn func())
- func Equal(get interface{}, expect interface{}, objList ...interface{})
- func EqualStringListNoOrder(a []string, b []string, objList ...interface{})
- func Ok(expectTrue bool, objList ...interface{})
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 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 EqualStringListNoOrder ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.