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