public void CalculateCameraParameters_DontSaveToDB_When_Mode_Is_CalculateOnly() { var res = _distanceCalculationService.CalculateCameraParameters(new DistanceToDevice(350), new DistanceToObject(700), CalculationMode.CalculateOnly); Assert.That(!_distanceCalculationService.GetAllBeforeDate(DateTime.Now).Any()); }
public IEnumerable <CalculationEntry> Get() { //TODO: Do actual date filter from query return(_distanceCalculationService.GetAllBeforeDate(DateTime.Now)); }