MCPcopy Create free account
hub / github.com/LFYSec/MScan / testOr

Method testOr

src/test/java/pascal/taie/util/collection/IBitSetTest.java:156–166  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

154 }
155
156 @Test
157 void testOr() {
158 IBitSet s = of(1, 2, 3);
159 assertFalse(s.or(of(1, 2, 3)));
160 assertFalse(s.or(of(1)));
161 assertEquals(3, s.cardinality());
162 assertTrue(s.or(of(1, 11111, 22222, 333333)));
163 assertFalse(s.or(of(11111, 22222, 333333)));
164 assertEquals(6, s.cardinality());
165 System.out.println(s);
166 }
167
168 @Test
169 @Disabled

Callers

nothing calls this directly

Calls 3

ofMethod · 0.95
orMethod · 0.95
cardinalityMethod · 0.95

Tested by

no test coverage detected