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

Method test

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

Source from the content-addressed store, hash-verified

50 // test set operations
51 // ------------------------------------------------------------------------
52 @Test
53 void test() {
54 IBitSet s = of();
55 assertTrue(s.set(1));
56 assertFalse(s.set(1));
57 assertTrue(s.set(10000));
58 assertFalse(s.set(10000));
59 assertEquals(2, s.cardinality());
60 System.out.println(s);
61 }
62
63 @Test
64 void testClear() {

Callers

nothing calls this directly

Calls 3

ofMethod · 0.95
setMethod · 0.95
cardinalityMethod · 0.95

Tested by

no test coverage detected