Benchmark

This commit is contained in:
Meutel 2017-07-09 11:56:01 +02:00
parent c08497b146
commit fbb7bebd3b

View File

@ -57,5 +57,10 @@ func TestConvert(t *testing.T) {
} }
} }
}
func BenchmarkConvert(b *testing.B) {
for i := 0; i < b.N; i++ {
Convert("50.0mi", "km")
}
} }