Skip to content

Commit

Permalink
sync protein-translation tests
Browse files Browse the repository at this point in the history
  • Loading branch information
glennj committed Jun 25, 2024
1 parent 81e30a0 commit 666d256
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions exercises/practice/protein-translation/.meta/tests.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,15 @@ description = "Translation stops if STOP codon in middle of three-codon sequence
[2c2a2a60-401f-4a80-b977-e0715b23b93d]
description = "Translation stops if STOP codon in middle of six-codon sequence"

[f6f92714-769f-4187-9524-e353e8a41a80]
description = "Sequence of two non-STOP codons does not translate to a STOP codon"

[1e75ea2a-f907-4994-ae5c-118632a1cb0f]
description = "Non-existing codon can't translate"

[9eac93f3-627a-4c90-8653-6d0a0595bc6f]
description = "Unknown amino acids, not part of a codon, can't translate"
reimplements = "1e75ea2a-f907-4994-ae5c-118632a1cb0f"

[9d73899f-e68e-4291-b1e2-7bf87c00f024]
description = "Incomplete RNA sequence can't translate"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,5 +155,10 @@ test proteins-30 "Incomplete RNA sequence can translate if valid until a STOP co
proteins UUCUUCUAAUGGU
} -returnCodes ok -result {Phenylalanine Phenylalanine}

skip proteins-31
test proteins-31 "Sequence of two non-STOP codons does not translate to a STOP codon" -body {
proteins AUGAUG
} -returnCodes ok -result {Methionine Methionine}


cleanupTests

0 comments on commit 666d256

Please sign in to comment.