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

Method assertSize

test/EnumSetTest.java:102–106  ·  view source on GitHub ↗
(int expectedSize, EnumSet<?> set)

Source from the content-addressed store, hash-verified

100 }
101
102 private static void assertSize(int expectedSize, EnumSet<?> set) {
103 if (set.size() != expectedSize) {
104 throw new RuntimeException("expected the set to be size=" + expectedSize + ", actual=" + set.size());
105 }
106 }
107}

Callers 6

testComplimentOfMethod · 0.95
testCopyOfMethod · 0.95
testOfMethod · 0.95
testAllOfMethod · 0.95
testNoneOfMethod · 0.95
testIteratorsMethod · 0.95

Calls 1

sizeMethod · 0.65

Tested by

no test coverage detected