Example #1
0
 /**
  * This is a regression test for problems converting strings that spanned multiple words.
  */
 public function testLongHexStringAllZeros()
 {
     $bitString = new BitString(48);
     $bitString->setBitsHighToLow(47, '000000000000000000000000000000000000000000000000');
     $this->assertEquals('00000000', $bitString->toHexString());
 }