Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
main
Method · 0.95
main
Method · 0.95
Calls
3
verify
Method · 0.95
size
Method · 0.65
add
Method · 0.65
Tested by
no test coverage detected