MCPcopy Create free account
hub / github.com/ReadyTalk/avian / verifyAppendStrLength

Method verifyAppendStrLength

test/StringBuilderTest.java:24–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22 }
23
24 private static void verifyAppendStrLength() {
25 String fooStr = "foobar";
26
27 StringBuilder sb = new StringBuilder();
28 for (int i = 0; i < iterations; i++) {
29 sb.append(fooStr);
30 }
31 String result = sb.toString();
32
33 verify(fooStr, iterations, result);
34 }
35
36 private static void verifyAppendCharLength() {
37 int iterations = 5000;

Callers 1

mainMethod · 0.95

Calls 3

appendMethod · 0.95
toStringMethod · 0.95
verifyMethod · 0.95

Tested by

no test coverage detected