This repository has been archived on 2024-08-25. You can view files and clone it, but cannot push or open issues or pull requests.
captcha/captcha_test.go

16 lines
194 B
Go
Raw Normal View History

2017-09-19 12:17:25 +01:00
package captcha
import (
"bytes"
"testing"
)
func TestNewCaptcha(t *testing.T) {
data, err := New(150, 50)
if err != nil {
t.Fatal(err)
}
buf := new(bytes.Buffer)
data.WriteTo(buf)
}