File tree 2 files changed +9
-0
lines changed
exercises/practice/protein-translation
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -87,11 +87,15 @@ description = "Translation stops if STOP codon in middle of three-codon sequence
87
87
[2c2a2a60-401f-4a80-b977-e0715b23b93d ]
88
88
description = " Translation stops if STOP codon in middle of six-codon sequence"
89
89
90
+ [f6f92714-769f-4187-9524-e353e8a41a80 ]
91
+ description = " Sequence of two non-STOP codons does not translate to a STOP codon"
92
+
90
93
[1e75ea2a-f907-4994-ae5c-118632a1cb0f ]
91
94
description = " Non-existing codon can't translate"
92
95
93
96
[9eac93f3-627a-4c90-8653-6d0a0595bc6f ]
94
97
description = " Unknown amino acids, not part of a codon, can't translate"
98
+ reimplements = " 1e75ea2a-f907-4994-ae5c-118632a1cb0f"
95
99
96
100
[9d73899f-e68e-4291-b1e2-7bf87c00f024 ]
97
101
description = " Incomplete RNA sequence can't translate"
Original file line number Diff line number Diff line change @@ -129,6 +129,11 @@ Execute (Translation stops if STOP codon in middle of six-codon sequence):
129
129
let g:expected = ['Tryptophan', 'Cysteine', 'Tyrosine']
130
130
AssertEqual g:expected, Proteins(g:strand)
131
131
132
+ Execute (Sequence of two non-STOP codons does not translate to a STOP codon):
133
+ let g:strand = "AUGAUG"
134
+ let g:expected = ['Methionine', 'Methionine']
135
+ AssertEqual g:expected, Proteins(g:strand)
136
+
132
137
Execute (Non-existing codon can't translate):
133
138
let g:strand = "AAA"
134
139
let g:expected = "Invalid codon"
You can’t perform that action at this time.
0 commit comments