MCPcopy Index your code
hub / github.com/apache/groovy / testSize

Method testSize

src/test/groovy/groovy/lang/TupleTest.java:38–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36 final Tuple t = new Tuple<>(data);
37
38 public void testSize() {
39 assertEquals("Size of " + t, 3, t.size());
40
41 assertEquals("get(0)", "a", t.get(0));
42 assertEquals("get(1)", "b", t.get(1));
43 }
44
45 public void testGetOutOfTuple() {
46 try {

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.65
getMethod · 0.65
assertEqualsMethod · 0.45

Tested by

no test coverage detected