Sha256: 1d23c86bfee2c59d2f6ebf1001a667c41ed4dc1cc0ec3ce968ac2ae85b063c7a
Contents?: true
Size: 353 Bytes
Versions: 116
Compression:
Stored size: 353 Bytes
Contents
package zebra import "testing" func TestSolvePuzzle(t *testing.T) { expected := Solution{DrinksWater: "Norwegian", OwnsZebra: "Japanese"} actual := SolvePuzzle() if expected != actual { t.Fatalf("FAILED:\nExpected: %#v\nActual: %#v", expected, actual) } } func BenchmarkScore(b *testing.B) { for i := 0; i < b.N; i++ { SolvePuzzle() } }
Version data entries
116 entries across 116 versions & 1 rubygems