mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package cn.hutool.captcha;
|
||||
|
||||
import cn.hutool.captcha.generator.MathGenerator;
|
||||
import org.junit.Test;
|
||||
|
||||
public class GeneratorTest {
|
||||
@Test
|
||||
public void mathGeneratorTest(){
|
||||
final MathGenerator mathGenerator = new MathGenerator();
|
||||
for (int i = 0; i < 1000; i++) {
|
||||
mathGenerator.verify(mathGenerator.generate(), "0");
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user