MCPcopy Create free account
hub / github.com/RealTimeGenomics/rtg-tools / test

Method test

src/test/java/com/rtg/mode/DNATest.java:43–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41public class DNATest extends TestCase {
42
43 public final void test() {
44 TestUtils.testPseudoEnum(DNA.class, "[N, A, C, G, T]");
45 try {
46 DNA.valueOf('u');
47 fail();
48 } catch (IllegalArgumentException e) {
49 assertEquals("ch=u", e.getMessage());
50 }
51 }
52
53 public final void testIsUnknown() {
54 assertTrue(DNA.N.ignore());

Callers 6

hasClassFunction · 0.45
excanvas.jsFile · 0.45
sprintfFunction · 0.45
StemmerFunction · 0.45

Calls 4

testPseudoEnumMethod · 0.95
valueOfMethod · 0.95
assertEqualsMethod · 0.45
getMessageMethod · 0.45

Tested by

no test coverage detected