Ejemplo n.º 1
0
        public void TestMethodSetNodeInflow()
        {
            int    index       = 1;
            double flowrate    = 2;
            var    toolkitSWMM = new SWMMToolkit();

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

            //error = toolkitSWMM.Start(0);
            error = toolkitSWMM.Run(f1, f2, f3);

            error = toolkitSWMM.SetNodeInflow(index, flowrate);

            Assert.AreEqual(0, error);
        }