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

Method removeLastTest

test/DequeHelper.java:46–54  ·  view source on GitHub ↗
(Deque<Object> q)

Source from the content-addressed store, hash-verified

44 }
45
46 public static void removeLastTest(Deque<Object> q) {
47 Object firstObject = new Object();
48 Object lastObject = new Object();
49 q.addLast(firstObject);
50 q.addLast(lastObject);
51
52 verify(q.removeLast() == lastObject);
53 verify(q.removeLast() == firstObject);
54 }
55}

Callers 1

mainMethod · 0.95

Calls 3

verifyMethod · 0.95
addLastMethod · 0.65
removeLastMethod · 0.65

Tested by

no test coverage detected