예제 #1
0
 /**
  * @param \PhpBinaryReader\BinaryReader $brBig
  * @param \PhpBinaryReader\BinaryReader $brLittle
  *
  * @dataProvider binaryReaders
  */
 public function testBitReaderWithLittleEndian(BinaryReader $brBig, BinaryReader $brLittle)
 {
     $brLittle->setPosition(36);
     $brLittle->readBits(1);
     $this->assertSame(1.0, $this->single->read($brLittle));
     $this->assertSame(-1.0, $this->single->read($brLittle));
 }