tests/IntMathTest.php
/**
     * @covers \PhpCommon\IntMath\IntMath::negate
     *
     * @testdox The negate() method returns the given value with the opposite sign
     */
@covers \PhpCommon\IntMath\IntMath::negate
@testdox The negate() method returns the given value with the opposite sign
@covers \ PhpCommon \ IntMath \ IntMath :: negate @testdox The negate () method returns the given value with the opposite sign
public function testNegateReturnsTheArgumentWithOppositeSign()
    {
        $this->assertSame(0, IntMath::negate(0));
        $this->assertSame(0, IntMath::negate(-0));
        $this->assertSame(-100, IntMath::negate(100));
        $this->assertSame(100, IntMath::negate(-100));
        $this->assertSame(-\PHP_INT_MAX, IntMath::negate(\PHP_INT_MAX));
        $this->assertSame(\PHP_INT_MAX, IntMath::negate(-\PHP_INT_MAX));
    }
public function testNegateReturnsTheArgumentWithOppositeSign ( ) { $ this -> assertSame ( 0 , IntMath :: negate ( 0 ) ) ; $ this -> assertSame ( 0 , IntMath :: negate ( - 0 ) ) ; $ this -> assertSame ( - 100 , IntMath :: negate ( 100 ) ) ; $ this -> assertSame ( 100 , IntMath :: negate ( - 100 ) ) ; $ this -> assertSame ( - \ PHP_INT_MAX , IntMath :: negate ( \ PHP_INT_MAX ) ) ; $ this -> assertSame ( \ PHP_INT_MAX , IntMath :: negate ( - \ PHP_INT_MAX ) ) ; }
@covers \PhpCommon\IntMath\IntMath::negate
 @testdox The negate() method returns the given value with the opposite sign
@covers \ PhpCommon \ IntMath \ IntMath :: negate @testdox The negate () method returns the given value with the opposite sign