コード例 #1
0
        public void TestMethod20()
        {
            //unit test when isaccepted is true and is deleted is false and istreated is false
            AppointmentUnittest ob = new AppointmentUnittest();

            Assert.AreEqual("doc1", ob.docid);
            Assert.AreEqual("pt2", ob.patientid);
            Assert.AreEqual("emp2", ob.fduid);
            Assert.AreEqual("30/11/2019", ob.date);
            Assert.AreEqual("9:00 am", ob.time);
            Assert.AreEqual(false, ob.isdeleted);
            Assert.AreEqual(true, ob.isaccepted);
            Assert.AreEqual(false, ob.istreated);
        }