Esempio n. 1
0
        public void TestConvertImperialToMetric80KgsTotalPoundsAndBackDecimalValue()
        {
            var result = WeightConverter.FromKilos(80M);

            Assert.IsNotNull(result);
            Assert.AreEqual(176.37M, result.TotalPounds);

            var kilos = WeightConverter.ToKilos(result);

            Assert.AreEqual(80M, kilos);
        }