3 // Copyright 2013 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
27 nf
:= testing
.AllocsPerRun(100, F
)
28 ng
:= testing
.AllocsPerRun(100, G
)
30 fmt
.Printf("AllocsPerRun(100, F) = %v, want 1\n", nf
)
34 fmt
.Printf("AllocsPerRun(100, G) = %v, want 1\n", ng
)