コード例 #1
0
        public void Men4_MoreThan206()
        {
            decimal bodyWeight   = 241m;
            decimal liftedWeight = 200.5m;

            Assert.AreEqual(121.4661m, Math.Round(WilksFormula.CalculateForMen(bodyWeight, liftedWeight), 4));
        }
コード例 #2
0
        public void Men3_LowerThan40()
        {
            decimal bodyWeight   = 32m;
            decimal liftedWeight = 134.5m;

            Assert.AreEqual(247.693m, Math.Round(WilksFormula.CalculateForMen(bodyWeight, liftedWeight), 4));
        }