Clusterizator.Tests.Krab.Calculators.EquipotencyCalculatorTests.Initialization C# (CSharp) 메소드

Initialization() 개인적인 메소드

private Initialization ( ) : void
리턴 void
        public void Initialization()
        {
            var elements = new List<GraphElement>
                               {
                                   new GraphElement(new[] { 0.0 }, "1"),
                                   new GraphElement(new[] { 2.0 }, "2"),
                                   new GraphElement(new[] { 5.0 }, "3"),
                                   new GraphElement(new[] { 6.0 }, "4")
                               };

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

            manager = new GraphManager(connections, elements);
        }