MCPcopy Create free account
hub / github.com/Singular/Singular / test

Method test

ppcc/adlib/bitset.h:92–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 _data[index(i)] &= ~bit(i);
91 }
92 bool test(Int i) {
93 require(i < _bits, "index out of range");
94 return (_data[index(i)] & bit(i)) != 0;
95 }
96 Int count();
97 BitSet *complement();
98 BitSet *complement_in_place();

Callers 4

reportTestMethod · 0.45
MainFunction · 0.45
TransposeFunction · 0.45
TransitiveClosureFunction · 0.45

Calls 2

requireFunction · 0.85
indexFunction · 0.85

Tested by 2

reportTestMethod · 0.36
MainFunction · 0.36