public void newFairnessTest5()
 {
     var calc = new LengthUnitCalculator();
     double res = calc.calc(47, "mi", "mi");
     Assert.Equal(47.0, res, 15);
 }
 public void newFairnessTest4()
 {
     var calc = new LengthUnitCalculator();
     double res = calc.calc(1, "in", "mi");
     Assert.Equal(1.5782828282828283E-5, res, 15);
 }
 public void newFairnessTest2()
 {
     var calc = new LengthUnitCalculator();
     double res = calc.calc(1, "ft", "mi");
     Assert.Equal(1.893939393939394E-4, res, 15);
 }
 public void newFairnessTest3()
 {
     var calc = new LengthUnitCalculator();
     double res = calc.calc(1000, "mi", "in");
     Assert.Equal(6.336E7, res, 15);
 }
 public void newFairnessTest1()
 {
     var calc = new LengthUnitCalculator();
     double res = calc.calc(1, "mi", "ft");
     Assert.Equal(5280.0, res, 15);
 }