/// <summary> /// Solves the REVC problem (http://rosalind.info/problems/revc/). /// </summary> private static void SolveRevc() { var dna = new Dna(File.ReadAllText(@"Data\REVC\rosalind_revc.txt")); var reverseComplement = dna.ReverseComplementDna(); SaveResult(@"Results\rosalind_revc_results.txt", reverseComplement.Symbols); }
public void ReversedDnaTest() { // Arrange var dna = new Dna("AAAACCCGGT"); var expectedDna = new Dna("ACCGGGTTTT"); // Act var resultDna = dna.ReverseComplementDna(); // Assert Assert.That(expectedDna, Is.EqualTo(resultDna)); }