예제 #1
0
        public void Male_太瘦()
        {
            var person = new Human(Gender.Male, 170, 55);
            var target = new BmiHumanCalculator(person);

            var actual   = target.Result;
            var expected = "太瘦";

            Assert.AreEqual(expected, actual);
        }
예제 #2
0
        public void Female_太胖()
        {
            var person = new Human(Gender.Female, 165, 61);
            var target = new BmiHumanCalculator(person);

            var actual   = target.Result;
            var expected = "太胖";

            Assert.AreEqual(expected, actual);
        }