func Lookup1Spec(c gospec.Context) { c.Expect(vorbis.Lookup1Values(48, 2), Equals, 6) c.Expect(vorbis.Lookup1Values(49, 2), Equals, 7) c.Expect(vorbis.Lookup1ValuesJava(48, 2), Equals, 6) c.Expect(vorbis.Lookup1ValuesJava(49, 2), Equals, 7) }
func BenchmarkLookup1Values(b *testing.B) { for i := 0; i < b.N; i++ { vorbis.Lookup1Values(2048, 8) } }