Example #1
0
        public void VapPres_TDewPoint(
            UnitSystem system,
            double dewPoint,
            double dryBulb,
            double expected,
            double within)
        {
            var psy     = new Psychrometrics(system);
            var vapPres = psy.GetVapPresFromTDewPoint(dewPoint);

            Assert.That(psy.GetTDewPointFromVapPres(dryBulb, vapPres), Is.EqualTo(expected).Within(within));
        }