コード例 #1
0
        public void Should_truncate_value(double value, double expectedValue)
        {
            var expected = new Foot(expectedValue);

            var instance = new Foot(value);
            var actual   = instance.Truncate();

            Assert.AreEqual(expected, actual);
        }