コード例 #1
0
        public void Given_Main_money_2420000_When_Calculate_Then_349000()
        {
            decimal expected = 349400;
            decimal money    = 2420000;
            decimal actual   = Calculate.CaculateRate(money);

            Assert.AreEqual(expected, actual);
        }
コード例 #2
0
        public void Given_Main_money_5530000_When_Calculate_Then_1382400()
        {
            decimal expected = 1382400;
            decimal money    = 5530000;
            decimal actual   = Calculate.CaculateRate(money);

            Assert.AreEqual(expected, actual);
        }
コード例 #3
0
        public void Given_Main_money_540001_When_Calculate_Then_27000_12()
        {
            decimal expected = 27000.12m;
            decimal money    = 540001;
            decimal actual   = Calculate.CaculateRate(money);

            Assert.AreEqual(expected, actual);
        }