public void FromValueAndUnit() { Assert.AreEqual(1, PerTemperature.From(1, PerTemperatureUnit.PerDegreeCelsius).PerDegreesCelsius, PerDegreesCelsiusTolerance); Assert.AreEqual(1, PerTemperature.From(1, PerTemperatureUnit.PerDegreeDelisle).PerDegreesDelisle, PerDegreesDelisleTolerance); Assert.AreEqual(1, PerTemperature.From(1, PerTemperatureUnit.PerDegreeFahrenheit).PerDegreesFahrenheit, PerDegreesFahrenheitTolerance); Assert.AreEqual(1, PerTemperature.From(1, PerTemperatureUnit.PerDegreeNewton).PerDegreesNewton, PerDegreesNewtonTolerance); Assert.AreEqual(1, PerTemperature.From(1, PerTemperatureUnit.PerDegreeRankine).PerDegreesRankine, PerDegreesRankineTolerance); Assert.AreEqual(1, PerTemperature.From(1, PerTemperatureUnit.PerDegreeReaumur).PerDegreesReaumur, PerDegreesReaumurTolerance); Assert.AreEqual(1, PerTemperature.From(1, PerTemperatureUnit.PerDegreeRoemer).PerDegreesRoemer, PerDegreesRoemerTolerance); Assert.AreEqual(1, PerTemperature.From(1, PerTemperatureUnit.PerKelvin).PerKelvins, PerKelvinsTolerance); }