From f43656022928caaf5a9882d93ffdf64eb069fbab Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sun, 28 Aug 2016 02:29:13 +0200 Subject: Solve RNA --- go/rna-transcription/cases_test.go | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 go/rna-transcription/cases_test.go (limited to 'go/rna-transcription/cases_test.go') diff --git a/go/rna-transcription/cases_test.go b/go/rna-transcription/cases_test.go new file mode 100644 index 0000000..156f70d --- /dev/null +++ b/go/rna-transcription/cases_test.go @@ -0,0 +1,24 @@ +package strand + +// Source: exercism/x-common +// Commit: 6985644 Merge pull request #121 from mikeyjcat/add-roman-numerals-test-definition + +var rnaTests = []struct { + input string + expected string +}{ + // rna complement of cytosine is guanine + {"C", "G"}, + + // rna complement of guanine is cytosine + {"G", "C"}, + + // rna complement of thymine is adenine + {"T", "A"}, + + // rna complement of adenine is uracil + {"A", "U"}, + + // rna complement + {"ACGTGGTCTTAA", "UGCACCAGAAUU"}, +} -- cgit v1.2.3