Exemplo n.º 1
0
 private static void SearchProductsInPriceRange(Store store, int numOfProductsToSearch = 5000000)
 {
     for (int i = 0; i < numOfProductsToSearch; i++)
     {
         int min = rnd.Next(200), max = rnd.Next(250, 2000);
         store.SearchInPriceRange(min, max);
     }
 }
 private static void SearchProductsInPriceRange(Store store, int numOfProductsToSearch = 5000000)
 {
     for (int i = 0; i < numOfProductsToSearch; i++)
     {
         int min = rnd.Next(200), max = rnd.Next(250, 2000);
         store.SearchInPriceRange(min, max);
     }
 }