public void testToString() { final BitIndex index = BitCreate.createIndex(2, 5); index.set(1, 31); assertEquals("Index [2]" + LS + "[0] 0, 31" + LS, index.toString()); }
public void testLengthEmpty() { final BitIndex index = BitCreate.createIndex(0, 5); // test toString() when all zeroes assertEquals("Index [0]" + LS, index.toString()); }