File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
exercises/practice/protein-translation Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -87,11 +87,16 @@ 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"
95
+ include = false
92
96
93
97
[9eac93f3-627a-4c90-8653-6d0a0595bc6f ]
94
98
description = " Unknown amino acids, not part of a codon, can't translate"
99
+ reimplements = " 1e75ea2a-f907-4994-ae5c-118632a1cb0f"
95
100
96
101
[9d73899f-e68e-4291-b1e2-7bf87c00f024 ]
97
102
description = " Incomplete RNA sequence can't translate"
Original file line number Diff line number Diff line change 113
113
(proteins "UGGUGUUAUUAAUGGUUU " )
114
114
'("Tryptophan " "Cysteine " "Tyrosine " ))
115
115
116
- (test-exn " Non-existing codon can't translate "
117
- exn:fail?
118
- ( lambda () (proteins " AAA " ) ))
116
+ (test-equal? " Sequence of two non-STOP codons does not translate to a STOP codon "
117
+ (proteins " AUGAUG " )
118
+ '( " Methionine " " Methionine " ))
119
119
120
120
(test-exn "Unknown amino acids, not part of a codon, can't translate "
121
121
exn:fail?
You can’t perform that action at this time.
0 commit comments