func TestPetName(t *testing.T) {
	for i:=0; i<10; i++ {
		name := Generate(i, "-")
		if name == "" {
			t.Fatalf("Did not generate a %d-word name, '%s'", i, name)
		}
	}
}
Make sure the generated names exist
package petname
import (
	"testing"
)