Example #1
0
        public void From_ValueAndUnit_ReturnsQuantityWithSameValueAndUnit()
        {
            var quantity00 = SpecificHeatEnergy.From(1, SpecificHeatEnergyUnit.JoulePerGramCelciusDegree);

            AssertEx.EqualTolerance(1, quantity00.JoulePerGramCelciusDegrees, JoulePerGramCelciusDegreesTolerance);
            Assert.Equal(SpecificHeatEnergyUnit.JoulePerGramCelciusDegree, quantity00.Unit);
        }