public void ValidateSparseSequenceFindMatches() { ISequence seq = new Sequence(Alphabets.DNA, "ACCGGTT"); SparseSequence ssObj = new SparseSequence(Alphabets.DNA, 0, seq[0]); IList <string> patterns = new List <string>(); patterns.Add("A"); IDictionary <string, IList <int> > actual = ssObj.FindMatches(patterns, 0, false); Assert.AreEqual(1, actual.Count); Assert.AreEqual(0, actual["A"][0]); Console.WriteLine("Segmented Sequence : Successfully validated FindMatches() method."); ApplicationLog.WriteLine("Segmented Sequence : Successfully validated FindMatches() method."); }