Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ReadyTalk/avian
/ elementTest
Method
elementTest
test/QueueHelper.java:51–56 ·
view source on GitHub ↗
(Queue<Object> q)
Source
from the content-addressed store, hash-verified
49
}
50
51
public
static
void
elementTest(Queue<Object> q) {
52
Object testObject =
new
Object();
53
q.add(testObject);
54
55
verify(q.element() == testObject);
56
}
57
58
public
static
void
elementFail(Queue<Object> q) {
59
try {
Callers
2
main
Method · 0.95
main
Method · 0.95
Calls
3
verify
Method · 0.95
add
Method · 0.65
element
Method · 0.65
Tested by
no test coverage detected