public void GomEpsSetPhotovoltaicInputs_not_an_index_Test()
        {
            GomEPS gom = new GomEPS();

            gom.GomEpsInitialize(add, 1);
            Assert.AreEqual(Constants.E_INDEX_ERROR, gom.GomEpsSetPhotovoltaicInputs(1, 7000, 7200, 7400));
        }
        public void GomEpsSetPhotovoltaicInputs_no_error_Test()
        {
            GomEPS gom = new GomEPS();

            gom.GomEpsInitialize(add, 1);
            Assert.AreEqual(Constants.E_NO_SS_ERR, gom.GomEpsSetPhotovoltaicInputs(0, 7000, 7200, 7400));
        }
        public void GomEpsSetPhotovoltaicInputs_invalid_action_Test()
        {
            GomEPS gom = new GomEPS();

            gom.GomEpsInitialize(add, 1);
            gom.eps_table[0].CurrentConfig.PptMode = PPTMode.MPPT;
            Assert.AreEqual(Constants.E_INVALID_ACTION, gom.GomEpsSetPhotovoltaicInputs(0, 7000, 7200, 7400));
        }