예제 #1
0
        public void Percent2()
        {
            var percent = new GeneralFunctionality();
            var actual  = percent.percent(80, 50);

            Assert.AreEqual(160, actual);
        }
예제 #2
0
        public void Percent()
        {
            var percent = new GeneralFunctionality();
            var actual  = percent.percent(20, 100);

            Assert.AreEqual(20, actual);
        }