예제 #1
0
 /**
  * @test signumCorrectSign
  * @dataProvider decimalSigns
  *
  * @param string $string
  * @param int    $sign
  */
 public function signumCorrectSign($string, $sign)
 {
     $decimal = new BigDecimal($string);
     $this->assertSame($sign, $decimal->signum());
 }