Exemplo n.º 1
0
 /**
  * Test that isNegative() returns true if the number is below 0.
  */
 public function testIsNegative()
 {
     $this->assertTrue(Number::isNegative(-1));
     $this->assertTrue(Number::isNegative(-384));
     $this->assertFalse(Number::isNegative(0));
     $this->assertFalse(Number::isNegative(34));
 }