exercism/go/rna-transcription/cases_test.go

25 lines
479 B
Go
Raw Normal View History

2016-08-13 23:20:14 +00:00
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"},
}