tests/IntMathTest.php
/**
     * @covers \PhpCommon\IntMath\IntMath::subtract
     *
     * @testdox The subtract() method returns the difference of the arguments
     */
@covers \PhpCommon\IntMath\IntMath::subtract
@testdox The subtract() method returns the difference of the arguments
@covers \ PhpCommon \ IntMath \ IntMath :: subtract @testdox The subtract () method returns the difference of the arguments
public function testSubtractReturnsTheDifferenceOfTheArguments()
    {
        $this->assertSame(0, IntMath::subtract(0, 0));
        $this->assertSame(-1, IntMath::subtract(0, 1));
        $this->assertSame(1, IntMath::subtract(1, 0));
        $this->assertSame(200, IntMath::subtract(100, -100));
        $this->assertSame(0, IntMath::subtract(-1, -1));
    }
public function testSubtractReturnsTheDifferenceOfTheArguments ( ) { $ this -> assertSame ( 0 , IntMath :: subtract ( 0 , 0 ) ) ; $ this -> assertSame ( - 1 , IntMath :: subtract ( 0 , 1 ) ) ; $ this -> assertSame ( 1 , IntMath :: subtract ( 1 , 0 ) ) ; $ this -> assertSame ( 200 , IntMath :: subtract ( 100 , - 100 ) ) ; $ this -> assertSame ( 0 , IntMath :: subtract ( - 1 , - 1 ) ) ; }
@covers \PhpCommon\IntMath\IntMath::subtract
 @testdox The subtract() method returns the difference of the arguments
@covers \ PhpCommon \ IntMath \ IntMath :: subtract @testdox The subtract () method returns the difference of the arguments