This repository has been archived on 2021-12-17. You can view files and clone it, but cannot push or open issues/pull-requests.
|
package inspiro
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
)
|
|
|
|
func TestMain(m *testing.M) {
|
|
os.Exit(m.Run())
|
|
}
|
|
|
|
func TestGenerate(t *testing.T) {
|
|
if _, err := Generate(); err != nil {
|
|
t.Logf("could not generate image: %v", err)
|
|
t.Fail()
|
|
}
|
|
}
|