canopeas/inspiro/inspiro_test.go

18 lines
232 B
Go

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()
}
}