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

Method sizeTest

test/QueueHelper.java:16–21  ·  view source on GitHub ↗
(Queue<Object> q)

Source from the content-addressed store, hash-verified

14 }
15
16 public static void sizeTest(Queue<Object> q) {
17 verify(q.size() == 0);
18
19 q.add(new Object());
20 verify(q.size() == 1);
21 }
22
23 public static void isEmptyTest(Queue<Object> q) {
24 verify(q.isEmpty());

Callers 2

mainMethod · 0.95
mainMethod · 0.95

Calls 3

verifyMethod · 0.95
sizeMethod · 0.65
addMethod · 0.65

Tested by

no test coverage detected