Exemplo n.º 1
0
        public void ValidateFVQSPRemoveAt()
        {
            FileVirtualQualitativeSequenceProvider provObj =
                GetVirtualSequenceProvider();

            IQualitativeSequence seqObj =
                new QualitativeSequence(Alphabets.DNA, FastQFormatType.Illumina, "AGGCT");

            provObj.Add(seqObj[0]);
            provObj.Add(seqObj[1]);
            provObj.Add(seqObj[2]);
            provObj.RemoveAt(0);

            Assert.AreEqual(seqObj[1].Name, provObj.GetISequenceItem(0).Name);
            ApplicationLog.WriteLine(@"FVQSP Bvt : Successfully validated the RemoveAt() method");
            Console.WriteLine(@"FVQSP Bvt : Successfully validated the RemoveAt() method");
        }