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

            gom.GomEpsInitialize(add, 1);
            byte outputs = 255;

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

            gom.GomEpsInitialize(add, 1);
            byte outputs = 255;

            Assert.AreEqual(Constants.E_INDEX_ERROR, gom.GomEpsSetOutput(1, outputs));
        }