Clusterizator.Tests.Krab.Calculators.EquipotencyCalculatorSecondTests.Initialization C# (CSharp) Метод

Initialization() приватный Метод

private Initialization ( ) : void
Результат void
        public void Initialization()
        {
            var elements = new List<GraphElement>
                {
                    new GraphElement(new[] { 0.0, 10.0 }, "1"),
                    new GraphElement(new[] { 2.0, 15.0 }, "2"),
                    new GraphElement(new[] { 5.0, 25.0 }, "3"),
                    new GraphElement(new[] { 6.0, 15.0 }, "4"),
                    new GraphElement(new[] { 6.0, 18.0 }, "5")
                };

            var connections = new List<Connection>
                {
                    new Connection(0, 1),
                    new Connection(0, 2),
                    new Connection(0, 3),
                    new Connection(0, 4),
                    new Connection(1, 2),
                    new Connection(1, 3),
                    new Connection(1, 4),
                    new Connection(2, 3),
                    new Connection(2, 4),
                    new Connection(3, 4)
                };

            manager = new GraphManager(connections, elements);
        }