tests/IntMathTest.php
/**
     * @covers \PhpCommon\IntMath\IntMath::divide
     *
     * @testdox The divide() method returns the quotient of dividing one operand from another
     */
@covers \PhpCommon\IntMath\IntMath::divide
@testdox The divide() method returns the quotient of dividing one operand from another
@covers \ PhpCommon \ IntMath \ IntMath :: divide @testdox The divide () method returns the quotient of dividing one operand from another
public function testDivideReturnsTheQuotientOfTheArguments()
    {
        $this->assertSame(1, IntMath::divide(1, 1));
        $this->assertSame(0, IntMath::divide(0, 1));
        $this->assertSame(-1, IntMath::divide(1, -1));
        $this->assertSame(-1, IntMath::divide(-1, 1));
        $this->assertSame(1, IntMath::divide(10, 10));
        $this->assertSame(-2, IntMath::divide(-20, 10));
        $this->assertSame(-2, IntMath::divide(20, -10));
        $this->assertSame(1, IntMath::divide(\PHP_INT_MAX, \PHP_INT_MAX));
        $this->assertSame(1, IntMath::divide(\PHP_INT_MIN, \PHP_INT_MIN));
    }
public function testDivideReturnsTheQuotientOfTheArguments ( ) { $ this -> assertSame ( 1 , IntMath :: divide ( 1 , 1 ) ) ; $ this -> assertSame ( 0 , IntMath :: divide ( 0 , 1 ) ) ; $ this -> assertSame ( - 1 , IntMath :: divide ( 1 , - 1 ) ) ; $ this -> assertSame ( - 1 , IntMath :: divide ( - 1 , 1 ) ) ; $ this -> assertSame ( 1 , IntMath :: divide ( 10 , 10 ) ) ; $ this -> assertSame ( - 2 , IntMath :: divide ( - 20 , 10 ) ) ; $ this -> assertSame ( - 2 , IntMath :: divide ( 20 , - 10 ) ) ; $ this -> assertSame ( 1 , IntMath :: divide ( \ PHP_INT_MAX , \ PHP_INT_MAX ) ) ; $ this -> assertSame ( 1 , IntMath :: divide ( \ PHP_INT_MIN , \ PHP_INT_MIN ) ) ; }
@covers \PhpCommon\IntMath\IntMath::divide
 @testdox The divide() method returns the quotient of dividing one operand from another
@covers \ PhpCommon \ IntMath \ IntMath :: divide @testdox The divide () method returns the quotient of dividing one operand from another