示例#1
0
文件: NunitTest.cs 项目: sywymj/NCMS
        public void InpatientRegister()
        {
            HisComponent hisComponent = new HisComponent();

            try
            {
                //string hr = hisComponent.HisBalanceDel(45094);
                //Assert.AreEqual(string.Empty, hr);

                ParamBalance pbalance = new ParamBalance()
                {
                    zyh = 45094, outDate = DateTime.Now
                };
                string hr = hisComponent.HisBalance(pbalance);
                Assert.AreEqual(string.Empty, hr);

                //int hr=hisComponent.JzdToNhFeeListByZyh(45094);
                //Assert.AreEqual(0, hr);
                //List<string> ls = (List<string>)hisComponent.ProcessFeeListByZyh(45094,true);
                //Assert.AreEqual(0,ls.Count);
            }
            catch (System.Exception ex)
            {
                Assert.Fail(ex.Message);
            }
        }
示例#2
0
文件: NunitTest.cs 项目: sywymj/NCMS
        public void InpatientRegister()
        {
            HisComponent hisComponent = new HisComponent();
            try
            {
                //string hr = hisComponent.HisBalanceDel(45094);
                //Assert.AreEqual(string.Empty, hr);

                ParamBalance pbalance = new ParamBalance() { zyh = 45094, outDate = DateTime.Now };
                string hr = hisComponent.HisBalance(pbalance);
                Assert.AreEqual(string.Empty, hr);

                //int hr=hisComponent.JzdToNhFeeListByZyh(45094);
                //Assert.AreEqual(0, hr);
                //List<string> ls = (List<string>)hisComponent.ProcessFeeListByZyh(45094,true);
                //Assert.AreEqual(0,ls.Count);
            }
            catch (System.Exception ex)
            {
                Assert.Fail(ex.Message);
            }
        }