1
0
mirror of https://github.com/golang/go synced 2024-10-04 18:21:21 -06:00
go/src/pkg/testing
Rob Pike cf5dd6ad64 testing: quantize AllocsPerRun
As the code now says:

We are forced to return a float64 because the API is silly, but do
the division as integers so we can ask if AllocsPerRun()==1
instead of AllocsPerRun()<2.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/9837049
2013-05-30 11:28:08 -04:00
..
iotest testing/iotest: rephrase DataErrReader's description 2013-04-12 16:08:56 -07:00
quick testing/quick: fix for aliased types, delete duplicate uint8 test, and fix randFloat64() to give random numbers from (-math.MaxFloat64, math.MaxFloat64). 2013-05-14 17:14:59 -07:00
allocs.go testing: quantize AllocsPerRun 2013-05-30 11:28:08 -04:00
benchmark.go testing: introduce (*B).ReportAllocs() 2013-01-17 18:45:49 +08:00
example.go testing: allow examples to pass (fix build) 2013-01-18 12:25:41 +11:00
testing.go testing: structure package documentation 2013-04-05 13:43:18 +11:00