public DataFilter GetDefaultFilter() { return(new DataFilter { FromPosition = cacheDao.GetLowestCachePosition(), ToPosition = cacheDao.GetHighestCachePosition(), FromDate = cacheDao.GetEarliestCacheCreationDate(), ToDate = cacheDao.GetLatestCacheCreationDate(), FromCacheDifficulty = 1.0, ToCacheDifficulty = 5.0, FromTerrainDifficulty = 1.0, ToTerrainDifficulty = 5.0, FromCacheSize = 1, ToCacheSize = 6, CacheName = "", // limit only applies to top-X list of statistical data, therefore the typical default Limit = 10 }); }
public void GetEarliestCacheCreationDateTest() { var expected = new DateTime(2001, 01, 20); Assert.AreEqual(expected, target.GetEarliestCacheCreationDate()); }