public void Setup() { _shipper = new PriceEstimator(); _shipper.setZip2ZipStrategy((src, dest, weight) => Math.Round(Math.Abs(src - dest) * (weight / 500), 2)); }
public void Setup() { _shipper = new PriceEstimator(); _shipper.setZip2ZipStrategy((src, dest, weight) => src + dest + weight); }