Пример #1
0
        public void GomEpsGetHkData_wdt_no_error_Test()
        {
            GomEPS gom = new GomEPS();

            gom.GomEpsInitialize(add, 1);
            Output <EPS.eps_hk_wdt_t> output = new Output <EPS.eps_hk_wdt_t>();

            Assert.AreEqual(Constants.E_NO_SS_ERR, gom.GomEpsGetHkData_wdt(0, output));
        }
Пример #2
0
        public void GomEpsGetHkData_wdt_not_an_index_Test()
        {
            GomEPS gom = new GomEPS();

            gom.GomEpsInitialize(add, 1);
            Output <EPS.eps_hk_wdt_t> output = new Output <EPS.eps_hk_wdt_t>();

            Assert.AreEqual(Constants.E_INDEX_ERROR, gom.GomEpsGetHkData_wdt(1, output));
        }