1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

Benchmark for alliterative animal

Former-commit-id: b489e299fe
This commit is contained in:
Zack Scholl 2017-03-24 07:18:20 -06:00
parent e8959d8923
commit 57cda99027

View File

@ -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 {