public function testGetInt() { $bitmap = new Bitmap(); $bitmap->setBit(0); $bitmap->setBit(2); $this->assertEquals(5, $bitmap->getInt()); }