Sha256: 63fca1463329e3235959c16395f29b483bb027bdc5b9fb9ff318d1f026cdc304
Contents?: true
Size: 351 Bytes
Versions: 114
Compression:
Stored size: 351 Bytes
Contents
package isbn import ( "testing" ) func TestIsValidISBN(t *testing.T) { for _, test := range testCases { observed := IsValidISBN(test.isbn) if observed != test.expected { t.Errorf("FAIL: %s\nIsValidISBN(%q)\nExpected: %t, Actual: %t", test.description, test.isbn, test.expected, observed) } t.Logf("PASS: %s", test.description) } }
Version data entries
114 entries across 114 versions & 1 rubygems