Sha256: 99b4eb7ec446dc51d2807b981ed6924cff655bf1b5d8735d1a7333822daec9d5
Contents?: true
Size: 410 Bytes
Versions: 41
Compression:
Stored size: 410 Bytes
Contents
package bob import "testing" func TestHey(t *testing.T) { for _, tt := range testCases { actual := Hey(tt.input) if actual != tt.expected { msg := ` ALICE (%s): %q BOB: %s Expected Bob to respond: %s` t.Fatalf(msg, tt.description, tt.input, actual, tt.expected) } } } func BenchmarkHey(b *testing.B) { for _, tt := range testCases { for i := 0; i < b.N; i++ { Hey(tt.input) } } }
Version data entries
41 entries across 41 versions & 1 rubygems