This commit is contained in:
Ali Dehghani 2020-07-20 20:07:37 +04:30
parent 3433279c30
commit bacce9abc8

View File

@ -18,7 +18,7 @@ public class BitSetUnitTest {
} }
@Test @Test
public void givenBitSet_whenMemoryLayout_thenConsumeObeBitPerFlag() { public void givenBitSet_whenMemoryLayout_thenConsumeOneBitPerFlag() {
BitSet bitSet = new BitSet(1024); BitSet bitSet = new BitSet(1024);
System.out.println(GraphLayout.parseInstance(bitSet).toPrintable()); System.out.println(GraphLayout.parseInstance(bitSet).toPrintable());
@ -136,7 +136,7 @@ public class BitSetUnitTest {
} }
@Test @Test
public void givenBitSet_whenNextOrPrev_thenReturnsTheNextClearOrSetBit() { public void givenBitSet_whenNextOrPrev_thenReturnsTheNextOrPrevClearOrSetBit() {
BitSet bitSet = new BitSet(); BitSet bitSet = new BitSet();
bitSet.set(15, 25); bitSet.set(15, 25);