示例#1
0
        public void TestSubmitIsFalse()
        {
            OrderModelFake omF      = new OrderModelFake();
            var            expected = false;
            var            actual   = omF.Submit(null, null, 0, 1);

            Assert.AreEqual(expected, actual);
        }
示例#2
0
        public void TestSubmitIsTrue()
        {
            OrderModelFake omF      = new OrderModelFake();
            var            expected = true;
            var            actual   = omF.Submit("測試", "測試吃的", 88, 1);

            Assert.AreEqual(expected, actual);
        }