Ejemplo n.º 1
0
        public void TestMethodSetLinkParam()
        {
            int    index = 1;
            int    Param = 3;
            double value = 1;

            var toolkitSWMM = new SWMMToolkit();

            int error = toolkitSWMM.Open(f1, f2, f3);

            error = toolkitSWMM.Start(0);


            error = toolkitSWMM.SetLinkParam(index, Param, value);

            Assert.AreEqual(0, error);
        }