MCPcopy Create free account
hub / github.com/apache/poi / testSetBoolean

Method testSetBoolean

src/testcases/org/apache/poi/util/TestBitField.java:174–179  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

172 }
173
174 public void testSetBoolean() {
175 assertEquals(bf_multi.set(0), bf_multi.setBoolean(0, true));
176 assertEquals(bf_single.set(0), bf_single.setBoolean(0, true));
177 assertEquals(bf_multi.clear(-1), bf_multi.setBoolean(-1, false));
178 assertEquals(bf_single.clear(-1), bf_single.setBoolean(-1, false));
179 }
180
181 public void testSetShortBoolean() {
182 assertEquals(bf_multi.setShort(( short ) 0),

Callers

nothing calls this directly

Calls 4

setBooleanMethod · 0.80
assertEqualsMethod · 0.45
setMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected