public void From_ValueAndUnit_ReturnsQuantityWithSameValueAndUnit() { var quantity00 = SpecificDischarge.From(1, SpecificDischargeUnit.CubicFootMinutePerSquareFoot); AssertEx.EqualTolerance(1, quantity00.CubicFootMinutePerSquareFoots, CubicFootMinutePerSquareFootsTolerance); Assert.Equal(SpecificDischargeUnit.CubicFootMinutePerSquareFoot, quantity00.Unit); var quantity01 = SpecificDischarge.From(1, SpecificDischargeUnit.CubicMeterPerHourSquareMeter); AssertEx.EqualTolerance(1, quantity01.CubicMeterPerHourSquareMeters, CubicMeterPerHourSquareMetersTolerance); Assert.Equal(SpecificDischargeUnit.CubicMeterPerHourSquareMeter, quantity01.Unit); var quantity02 = SpecificDischarge.From(1, SpecificDischargeUnit.LiterSecondPerSquareMeter); AssertEx.EqualTolerance(1, quantity02.LiterSecondPerSquareMeters, LiterSecondPerSquareMetersTolerance); Assert.Equal(SpecificDischargeUnit.LiterSecondPerSquareMeter, quantity02.Unit); }