Reader reads a test data file and returns it as imagedata.ImageData
(name string)
| 88 | |
| 89 | // Reader reads a test data file and returns it as imagedata.ImageData |
| 90 | func (p *TestDataProvider) Reader(name string) *bytes.Reader { |
| 91 | return bytes.NewReader(p.Read(name)) |
| 92 | } |
| 93 | |
| 94 | // FileEqualsToReader compares the contents of a test data file with the contents of the given reader |
| 95 | func (p *TestDataProvider) FileEqualsToReader(name string, reader io.Reader) bool { |
no test coverage detected