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

Method assertElementInSet

test/EnumSetTest.java:96–100  ·  view source on GitHub ↗
(Enum<?> element, EnumSet<?> set)

Source from the content-addressed store, hash-verified

94 }
95
96 private static void assertElementInSet(Enum<?> element, EnumSet<?> set) {
97 if (!set.contains(element)) {
98 throw new RuntimeException("expected " + element + " in the set!");
99 }
100 }
101
102 private static void assertSize(int expectedSize, EnumSet<?> set) {
103 if (set.size() != expectedSize) {

Callers 4

testComplimentOfMethod · 0.95
testCopyOfMethod · 0.95
testOfMethod · 0.95
testAllOfMethod · 0.95

Calls 1

containsMethod · 0.65

Tested by

no test coverage detected