public static void Main(string[] args) { FindRepeatedDNA fd = new FindRepeatedDNA(); var res = fd.FindRepeatedDnaSequences("AAAAAAAAAAA"); Console.WriteLine(res); }
public static void Main(string[] args) { FindRepeatedDNA fd = new FindRepeatedDNA (); var res = fd.FindRepeatedDnaSequences ("AAAAAAAAAAA"); Console.WriteLine (res); }
public void TestRepeatedDNA() { FindRepeatedDNA fr = new FindRepeatedDNA (); var res = fr.FindRepeatedDnaSequences ("GAGAGAGAGAGA"); Assert.AreEqual (new List<string>(){"GAGAGAGAGA"}, res); }