We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ea5974 commit 7c758b0Copy full SHA for 7c758b0
src/testing/benchmark.go
@@ -0,0 +1,10 @@
1
+package testing
2
+
3
+// B is a type passed to Benchmark functions to manage benchmark timing and to
4
+// specify the number of iterations to run.
5
+//
6
+// TODO: Implement benchmarks. This struct allows test files containing
7
+// benchmarks to compile and run, but will not run the benchmarks themselves.
8
+type B struct {
9
+ N int
10
+}
tests/tinygotest/main_test.go
@@ -14,3 +14,6 @@ func TestFail2(t *testing.T) {
14
15
func TestPass(t *testing.T) {
16
}
17
18
+func BenchmarkNotImplemented(b *testing.B) {
19
0 commit comments