(t *testing.T)
| 23 | } |
| 24 | |
| 25 | func TestExampleWriteFile(t *testing.T) { |
| 26 | filename := "example.png" |
| 27 | if err := WriteFile("https://example.org", Medium, 256, filename); err != nil { |
| 28 | if err = os.Remove(filename); err != nil { |
| 29 | t.Errorf("Error: %s", err.Error()) |
| 30 | } |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | func TestExampleEncodeWithColourAndWithoutBorder(t *testing.T) { |
| 35 | q, err := New("https://example.org", Medium) |
nothing calls this directly
no test coverage detected
searching dependent graphs…