public void TestReverseSymbolAt()
        {
            accessor = new AccessorLinear
                            (this.indexer, 4, symbols);

            accessor = new AccessorComplement(accessor);

            Assert.AreEqual(alpha['-'], accessor.SymbolAt(-1)); //index out of bound situation
            Assert.AreEqual(alpha['-'], accessor.SymbolAt(4));
            Assert.AreEqual(alpha['c'], accessor.SymbolAt(0));
            Assert.AreEqual(alpha['a'], accessor.SymbolAt(1));
            Assert.AreEqual(alpha['g'], accessor.SymbolAt(2));
            Assert.AreEqual(alpha['t'], accessor.SymbolAt(3));
        }
 public void SetUp()
 {
     alpha = DnaAlphabet.Instance();
     symbols = new SymbolArray(alpha, "actg");
     accessor = new AccessorComplement(symbols);
 }