Skip to content

Commit 8fb026a

Browse files
alis0ncFridaTveit
authored andcommitted
Update rna-transcription to 1.3.0 and add empty sequence test (exercism#1516) (exercism#1574)
* Update rna-transcription to 1.3.0 and add empty sequence test (exercism#1516) * remove version comment in tests
1 parent 8a6601d commit 8fb026a

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.0
1+
1.3.0

exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ public void setUp() {
1313
rnaTranscription = new RnaTranscription();
1414
}
1515

16+
@Test
17+
public void testEmptyRnaSequence() {
18+
assertEquals("", rnaTranscription.transcribe(""));
19+
}
20+
21+
@Ignore("Remove to run test")
1622
@Test
1723
public void testRnaTranscriptionOfCytosineIsGuanine() {
1824
assertEquals("G", rnaTranscription.transcribe("C"));

0 commit comments

Comments
 (0)