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