summaryrefslogtreecommitdiff
path: root/sort/selection_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2020-07-14 09:58:13 +0100
committerPaul Buetow <paul@buetow.org>2020-07-14 09:58:13 +0100
commit1a175ce919dddb8d3a58533f3827a105483442c0 (patch)
treee18b0936bc06050eb25c883b94ff3732df4b8113 /sort/selection_test.go
parent6c598a53d3366d8ff7250bdc1ce29fa4c36ec246 (diff)
refactored testing and benchmarking
Diffstat (limited to 'sort/selection_test.go')
-rw-r--r--sort/selection_test.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/sort/selection_test.go b/sort/selection_test.go
deleted file mode 100644
index f432474..0000000
--- a/sort/selection_test.go
+++ /dev/null
@@ -1,17 +0,0 @@
-package sort
-
-import (
- "testing"
-)
-
-func BenchmarkSelection(b *testing.B) {
- benchmark("Selection", 10, Selection, b)
- benchmark("Selection", 100, Selection, b)
- benchmark("Selection", 1000, Selection, b)
-}
-
-func TestSelection(t *testing.T) {
- for i := 1; i <= 1000; i *= 10 {
- test("Selection", i, Selection, t)
- }
-}