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 GetLatestCacheCreationDateTest( ) { var expected = new DateTime(2031, 12, 20); Assert.AreEqual(expected, target.GetLatestCacheCreationDate()); }