예제 #1
0
        public virtual void Edge_K4()
        {
            InitialCycles initial = new InitialCycles(K4);

            Assert.AreEqual(initial.GetEdge(0), new InitialCycles.Cycle.Edge(0, 1));
            Assert.AreEqual(initial.GetEdge(1), new InitialCycles.Cycle.Edge(0, 2));
            Assert.AreEqual(initial.GetEdge(2), new InitialCycles.Cycle.Edge(0, 3));
            Assert.AreEqual(initial.GetEdge(3), new InitialCycles.Cycle.Edge(1, 2));
            Assert.AreEqual(initial.GetEdge(4), new InitialCycles.Cycle.Edge(1, 3));
            Assert.AreEqual(initial.GetEdge(5), new InitialCycles.Cycle.Edge(2, 3));
        }