public void Given1GallonAnd378iter_WhenAdded_ShouldReturnEqualTotalvolume() { try { double literOne = liter.ConvertValueInDifferentUnit(Enum.Unit.GALLON_TO_LITER, 1.0); double literTwo = liter.ConvertValueInDifferentUnit(Enum.Unit.LITER, 3.78); double ActualValue = liter.AddTWoUnitValue(literOne, literTwo); double ExpectedValue = 7.5599999999999996d; Assert.AreEqual(ExpectedValue, ActualValue); } catch (QuantityMesurementException e) { throw new QuantityMesurementException(QuantityMesurementException.ExceptionType.InvalidValue, e.Message); } }