Exemplo n.º 1
0
        public void ValidateVSLInsert()
        {
            VirtualSequenceList seqList = GetVirtualSequenceList(
                Constants.NeedlemanWunschVeryLargeSizeProAlignAlgorithmNodeName);

            try
            {
                seqList.Insert(0,
                               (ISequence) new Sequence(Alphabets.Protein,
                                                        "KKLLEE"));
                Assert.Fail();
            }
            catch (NotSupportedException)
            {
                ApplicationLog.WriteLine(
                    "VSL Bvt : Successfully validated the Insert() method");
                Console.WriteLine(
                    "VSL Bvt : Successfully validated the Insert() method");
            }
        }