forked from Minecraft/canopeas
18 lines
232 B
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()
|
||
|
}
|
||
|
}
|