Просмотр исходного кода

Updated copyright, removed old TODO, nicer size.

Peter H. Froehlich 8 лет назад
Родитель
Сommit
f6832cab0f
1 измененных файлов с 2 добавлено и 6 удалено
  1. 2 6
      queue/queue_test.go

+ 2 - 6
queue/queue_test.go

@@ -1,13 +1,9 @@
-// Copyright (c) 2013, Peter H. Froehlich. All rights reserved.
+// Copyright (c) 2013-2017, Peter H. Froehlich. All rights reserved.
 // Use of this source code is governed by a BSD-style license
 // that can be found in the LICENSE file.
 
 package queue
 
-// TODO: need a lot more tests, and maybe a better way of
-// modularizing them; also benchmarks comparing this to
-// Go's container.list
-
 import "testing"
 import "container/list"
 import "math/rand"
@@ -117,7 +113,7 @@ func TestZeroValue(t *testing.T) {
 	}
 }
 
-const size = 1000
+const size = 1024
 
 func BenchmarkPushFrontQueue(b *testing.B) {
 	for i := 0; i < b.N; i++ {