Exemplo n.º 1
0
 public void HugeList()
 {
     filter = new UrlFilter(HUGE_LIST);
     timer.Start();
     filter.Check(naughtyUrl);
     timer.End();
     Assert.That(timer.ElapsedTime, Is.LessThan(10.0));
 }
Exemplo n.º 2
0
 public void SmallList()
 {
     filter = new UrlFilter(SMALL_LIST);
     timer.Start();
     filter.Check(naughtyUrl);
     timer.End();
     Assert.That(timer.ElapsedTime, Is.LessThan(1.0));
 }