예제 #1
0
        public void MustConvertAValueInFeet()
        {
            var result = _service.FromFeet(1000);

            Assert.AreEqual(304.80, Math.Round(result.Meter, 2));
            Assert.AreEqual(12000.00, Math.Round(result.Inch, 2));
            Assert.AreEqual(0.30, Math.Round(result.Kilometer, 2));
            Assert.AreEqual(1000.00, Math.Round(result.Feet, 2));
        }