Exemplo n.º 1
0
        public void TestRMap_int_int()
        {
            RMap node = new RMap(1, 2);

            Assert.IsNotNull(node);
            Assert.AreEqual(1, node.Id1);
            Assert.AreEqual(2, node.Id2);
        }
Exemplo n.º 2
0
 /// <summary>
 ///  Constructor for the RNode object.
 /// </summary>
 /// <param name="id1">number of the bond in the graph 1</param>
 /// <param name="id2">number of the bond in the graph 2</param>
 public RNode(int id1, int id2)
 {
     RMap      = new RMap(id1, id2);
     Extension = new BitArray(0);
     Forbidden = new BitArray(0);
 }