Skip to content

Commit 8a5f18b

Browse files
committed
rna-transcription: update tests to version 1.1.0
1 parent 34717e6 commit 8a5f18b

2 files changed

Lines changed: 1 addition & 30 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.1
1+
1.1.0
Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
import org.junit.Before;
22
import org.junit.Ignore;
3-
import org.junit.Rule;
43
import org.junit.Test;
5-
import org.junit.rules.ExpectedException;
64

75
import static org.junit.Assert.assertEquals;
86

97
public class RnaTranscriptionTest {
108

11-
@Rule
12-
public ExpectedException expectedException = ExpectedException.none();
13-
149
private RnaTranscription rnaTranscription;
1510

1611
@Before
@@ -47,28 +42,4 @@ public void testRnaTranscription() {
4742
assertEquals("UGCACCAGAAUU", rnaTranscription.transcribe("ACGTGGTCTTAA"));
4843
}
4944

50-
@Ignore("Remove to run test")
51-
@Test
52-
public void testRnaTranscriptionOfRnaThrowsAnError() {
53-
expectedException.expect(IllegalArgumentException.class);
54-
expectedException.expectMessage("Invalid input");
55-
rnaTranscription.transcribe("U");
56-
}
57-
58-
@Ignore("Remove to run test")
59-
@Test
60-
public void testRnaTranscriptionOfInvalidInputThrowsAnError() {
61-
expectedException.expect(IllegalArgumentException.class);
62-
expectedException.expectMessage("Invalid input");
63-
rnaTranscription.transcribe("XXX");
64-
}
65-
66-
@Ignore("Remove to run test")
67-
@Test
68-
public void testRnaTranscriptionOfPartiallyInvalidInput() {
69-
expectedException.expect(IllegalArgumentException.class);
70-
expectedException.expectMessage("Invalid input");
71-
rnaTranscription.transcribe("ACGTXXXCTTAA");
72-
}
73-
7445
}

0 commit comments

Comments
 (0)