Source Code for Me (s-c.me)

Allows you to paste souce code to blogs! Adapted for Twitter! Here is Search Form in case you missed your code.
Code:
Selected Language:
Show Linenumbers:
Short link for Twitter:
HTML:

HTML view:

Copy Source | Copy HTML
  1. /// <summary>
  2.     /// Проверим, доступны ли сервисы и работают ли они как положено
  3.     /// </summary>
  4.     [TestFixture]
  5.     public class WebTests : MainTests
  6.     {
  7.  
  8.         [Test]
  9.         public void SingleSearch()
  10.         {
  11.             QueueFewRequests(1, AskTo.SM_QUEUE);
  12.         }
  13.  
  14.         [Test]
  15.         public void MultiSearch_Max()
  16.         {
  17.             int workers;
  18.             int currs;
  19.             ThreadPool.GetMaxThreads(out workers,out currs);
  20.             QueueFewRequests(workers, AskTo.SM_QUEUE);
  21.         }
  22.  
  23.     }




Based on Manoli.Net's CodeFormatter. Made by Topbot (c) 2008-2012