From 57cda990279b71f758e4b3bd0a61d602e191dd30 Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Fri, 24 Mar 2017 07:18:20 -0600 Subject: [PATCH] Benchmark for alliterative animal Former-commit-id: b489e299fe32c371a65059e9aef2dc032a3e844c --- utils_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/utils_test.go b/utils_test.go index 52479d8..bc9561c 100755 --- a/utils_test.go +++ b/utils_test.go @@ -4,6 +4,12 @@ import ( "testing" ) +func BenchmarkAlliterativeAnimal(b *testing.B) { + for i := 0; i < b.N; i++ { + randomAlliterateCombo() + } +} + func TestReverseList(t *testing.T) { s := []int64{1, 10, 2, 20} if reverseSliceInt64(s)[0] != 20 {