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