Sha256: 6e5d26b3b6246e2e83a00d6d7ba568c885fac9aed2c30e9a97b6f0e442f64cf8

Contents?: true

Size: 410 Bytes

Versions: 81

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 i := 0; i < b.N; i++ {
		for _, tt := range testCases {
			Hey(tt.input)
		}
	}
}

Version data entries

81 entries across 81 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/go/exercises/bob/bob_test.go
trackler-2.2.1.179 tracks/go/exercises/bob/bob_test.go
trackler-2.2.1.178 tracks/go/exercises/bob/bob_test.go
trackler-2.2.1.177 tracks/go/exercises/bob/bob_test.go
trackler-2.2.1.176 tracks/go/exercises/bob/bob_test.go
trackler-2.2.1.175 tracks/go/exercises/bob/bob_test.go
trackler-2.2.1.174 tracks/go/exercises/bob/bob_test.go
trackler-2.2.1.173 tracks/go/exercises/bob/bob_test.go
trackler-2.2.1.172 tracks/go/exercises/bob/bob_test.go
trackler-2.2.1.171 tracks/go/exercises/bob/bob_test.go
trackler-2.2.1.170 tracks/go/exercises/bob/bob_test.go
trackler-2.2.1.169 tracks/go/exercises/bob/bob_test.go
trackler-2.2.1.167 tracks/go/exercises/bob/bob_test.go
trackler-2.2.1.166 tracks/go/exercises/bob/bob_test.go
trackler-2.2.1.165 tracks/go/exercises/bob/bob_test.go
trackler-2.2.1.164 tracks/go/exercises/bob/bob_test.go
trackler-2.2.1.163 tracks/go/exercises/bob/bob_test.go
trackler-2.2.1.162 tracks/go/exercises/bob/bob_test.go
trackler-2.2.1.161 tracks/go/exercises/bob/bob_test.go
trackler-2.2.1.160 tracks/go/exercises/bob/bob_test.go