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

Method testToString

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

Source from the content-addressed store, hash-verified

102 }
103
104 public final void testToString() {
105 for (final DNA dna : DNA.values()) {
106 final String str = dna.toString();
107 assertEquals(1, str.length());
108 assertEquals(str.toUpperCase(Locale.getDefault()), str);
109 }
110 }
111
112 public void testName() {
113 assertEquals("T", DNA.T.name());

Callers

nothing calls this directly

Calls 4

valuesMethod · 0.95
toStringMethod · 0.65
lengthMethod · 0.65
assertEqualsMethod · 0.45

Tested by

no test coverage detected