Пример #1
0
 public void Test黑貓只用重量計算運費()
 {
     var target = new MyScenario();
     var actual = target.CalculateFee(1);
     var expected = 50;
     Assert.AreEqual(expected, actual);
 }
Пример #2
0
 public void Test郵局使用重量跟長寬高算運費_取便宜的()
 {
     var target = new MyScenario();
     var actual = target.CalculateFee(2);
     var expected = 60;
     Assert.AreEqual(expected, actual);
 }
Пример #3
0
        public void Test黑貓只用重量計算運費()
        {
            var target   = new MyScenario();
            var actual   = target.CalculateFee(1);
            var expected = 50;

            Assert.AreEqual(expected, actual);
        }
Пример #4
0
        public void Test郵局使用重量跟長寬高算運費_取便宜的()
        {
            var target   = new MyScenario();
            var actual   = target.CalculateFee(2);
            var expected = 60;

            Assert.AreEqual(expected, actual);
        }