Lines Matching refs:testEqual
46 func testEqual(t *testing.T, msg string, args ...interface{}) bool {
72 testEqual(t, "Encode(%q) = %q, want %q", p.decoded, strip85(string(buf)), strip85(p.encoded))
82 testEqual(t, "Encode(%q) = %q, want %q", p.decoded, strip85(bb.String()), strip85(p.encoded))
97 testEqual(t, "Write(%q) gave error %v, want %v", input[pos:end], err, error(nil))
98 testEqual(t, "Write(%q) gave length %v, want %v", input[pos:end], n, end-pos)
101 testEqual(t, "Close gave error %v, want %v", err, error(nil))
102 testEqual(t, "Encoding/%d of %q = %q, want %q", bs, bigtest.decoded, strip85(bb.String()), strip85(bigtest.encoded))
110 testEqual(t, "Decode(%q) = error %v, want %v", p.encoded, err, error(nil))
111 testEqual(t, "Decode(%q) = nsrc %v, want %v", p.encoded, nsrc, len(p.encoded))
112 testEqual(t, "Decode(%q) = ndst %v, want %v", p.encoded, ndst, len(p.decoded))
113 testEqual(t, "Decode(%q) = %q, want %q", p.encoded, string(dbuf[0:ndst]), p.decoded)
124 testEqual(t, "Read from %q = length %v, want %v", p.encoded, len(dbuf), len(p.decoded))
125 testEqual(t, "Decoding of %q = %q, want %q", p.encoded, string(dbuf), p.decoded)
127 testEqual(t, "Read from %q = %v, want %v", p.encoded, err, io.EOF)
139 testEqual(t, "Read from %q at pos %d = %d, %v, want _, %v", bigtest.encoded, total, n, err, error(nil))
142 testEqual(t, "Decoding/%d of %q = %q, want %q", bs, bigtest.encoded, string(buf[0:total]), bigtest.decoded)
161 testEqual(t, "Corruption in %q at offset %v, want %v", e.e, int(err), e.p)