Пример #1
0
        public void EdmondsKarpTest()
        {
            var data        = CreateMaxFlowData();
            var maxFlowTool = new MaxFlow <string>();
            var maxFlow     = maxFlowTool.EdmondsKarp(data.Item1, data.Item2, data.Item3);

            Assert.AreEqual(5, maxFlow);
        }