public void CanSearchOnPriceRange() { var repo = new CardInfoRepositoryADO(); var found = repo.Search(new CardInfoSearchParameters { MinPrice = 7M, MaxPrice = 250M }); Assert.AreEqual(4, found.Count()); }
public void CanSearchOnMaxPrice() { var repo = new CardInfoRepositoryADO(); var found = repo.Search(new CardInfoSearchParameters { MaxPrice = 100M }); Assert.AreEqual(3, found.Count()); }