()
| 35 | } |
| 36 | |
| 37 | private static void testCopyOf() { |
| 38 | EnumSet<SmallEnum> one = EnumSet.of(SmallEnum.ONE, SmallEnum.THREE); |
| 39 | EnumSet<SmallEnum> two = EnumSet.copyOf(one); |
| 40 | assertElementInSet(SmallEnum.ONE, two); |
| 41 | assertElementInSet(SmallEnum.THREE, two); |
| 42 | assertSize(2, two); |
| 43 | } |
| 44 | |
| 45 | private static void testOf() { |
| 46 | EnumSet<LargerEnum> set = EnumSet.of(LargerEnum.LARGEONE, LargerEnum.LARGEFIVE, LargerEnum.LARGETWO); |
no test coverage detected