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 ce04851 commit f6832caCopy full SHA for f6832ca
queue/queue_test.go
@@ -1,13 +1,9 @@
1
-// Copyright (c) 2013, Peter H. Froehlich. All rights reserved.
+// Copyright (c) 2013-2017, Peter H. Froehlich. All rights reserved.
2
// Use of this source code is governed by a BSD-style license
3
// that can be found in the LICENSE file.
4
5
package queue
6
7
-// TODO: need a lot more tests, and maybe a better way of
8
-// modularizing them; also benchmarks comparing this to
9
-// Go's container.list
10
-
11
import "testing"
12
import "container/list"
13
import "math/rand"
@@ -117,7 +113,7 @@ func TestZeroValue(t *testing.T) {
117
113
}
118
114
119
115
120
-const size = 1000
116
+const size = 1024
121
122
func BenchmarkPushFrontQueue(b *testing.B) {
123
for i := 0; i < b.N; i++ {
0 commit comments