25 lines
534 B
C#
25 lines
534 B
C#
using System;
|
|
using ln.http.helpers;
|
|
using NUnit.Framework;
|
|
|
|
namespace ln.http.tests
|
|
{
|
|
[TestFixture]
|
|
public class CaptchaTests
|
|
{
|
|
|
|
|
|
[Test]
|
|
public void TestCaptcha()
|
|
{
|
|
HttpCaptcha httpCaptcha = new HttpCaptcha(null, null);
|
|
|
|
for (int n = 0; n < 1024; n++)
|
|
{
|
|
HttpCaptcha.CaptchaInstance captchaInstance = httpCaptcha.CreateInstance();
|
|
Console.WriteLine(captchaInstance.ToString());
|
|
}
|
|
}
|
|
|
|
}
|
|
} |