Example #1
0
 public function testAppendBytes()
 {
     $array = new BitArray(2);
     $array->appendBytes('AB');
     $this->assertEquals(array(0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0), $array->asArray());
 }