/** * Inverts the bits of this enum * @return \static */ public function invert() { $this->_Value = Number::invertBits($this->_Value); return $this; }
public function testInvertBits() { $this->assertEquals(4, Number::invertBits(11)); $this->assertNotEquals(3, Number::invertBits(5)); }