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