Sha256: 9d8335918d3f5d2bb802a2b82b97c09ddee526865b4fcc8ddb2b3567691e866f
Contents?: true
Size: 535 Bytes
Versions: 119
Compression:
Stored size: 535 Bytes
Contents
package raindrops import "testing" const targetTestVersion = 2 func TestConvert(t *testing.T) { if testVersion != targetTestVersion { t.Fatalf("Found testVersion = %v, want %v", testVersion, targetTestVersion) } for _, test := range tests { if actual := Convert(test.input); actual != test.expected { t.Errorf("Convert(%d) = %q, expected %q.", test.input, actual, test.expected) } } } func BenchmarkConvert(b *testing.B) { for i := 0; i < b.N; i++ { for _, test := range tests { Convert(test.input) } } }
Version data entries
119 entries across 119 versions & 1 rubygems