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

Method clearTest

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

Source from the content-addressed store, hash-verified

127 }
128
129 public static void clearTest(Queue<Object> q) {
130 q.add(new Object());
131
132 q.clear();
133
134 verify(q.isEmpty());
135 }
136
137 public static void toArrayTest(Queue<Object> q) {
138 if (q.toArray().length != 0) {

Callers 2

mainMethod · 0.95
mainMethod · 0.95

Calls 4

verifyMethod · 0.95
addMethod · 0.65
clearMethod · 0.65
isEmptyMethod · 0.65

Tested by

no test coverage detected