mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-06-04 13:28:03 +02:00
13 lines
286 B
Go
13 lines
286 B
Go
package vision
|
|
|
|
import "testing"
|
|
|
|
func TestLooksLikeCaptchaQuestion(t *testing.T) {
|
|
if !looksLikeCaptchaQuestion("识别验证码,只输出字符") {
|
|
t.Fatal("expected captcha hint")
|
|
}
|
|
if looksLikeCaptchaQuestion("描述登录页布局") {
|
|
t.Fatal("expected non-captcha")
|
|
}
|
|
}
|