testing: support b.SetBytes(); implement sub-benchmarks.

This commit is contained in:
Dan Kegel
2022-01-07 20:32:23 -08:00
committed by Ron Evans
parent 29f7ebc63e
commit f80efa5b8b
4 changed files with 156 additions and 20 deletions
+1
View File
@@ -48,6 +48,7 @@ type common struct {
failed bool // Test or benchmark has failed.
skipped bool // Test of benchmark has been skipped.
finished bool // Test function has completed.
level int // Nesting depth of test or benchmark.
name string // Name of test or benchmark.
}