MCPcopy Index your code
hub / github.com/PCGen/pcgen / testJoin

Method testJoin

code/src/test/pcgen/core/utils/CoreUtilityTest.java:55–63  ·  view source on GitHub ↗

Test unsplit string (join method).

()

Source from the content-addressed store, hash-verified

53 * Test unsplit string (join method).
54 */
55 @Test
56 public void testJoin()
57 {
58 final String sep = "|";
59 final List<String> list = List.of("one", "two", "three", "four");
60 final String result = StringUtil.join(list, sep);
61 final String trueResult = "one|two|three|four";
62 assertEquals(trueResult, result, "join returned bad String");
63 }
64
65 @Test
66 public void testCompareVersions()

Callers

nothing calls this directly

Calls 2

joinMethod · 0.95
ofMethod · 0.80

Tested by

no test coverage detected