Esempio n. 1
0
    public function testDivisionWithBCMathAndExponent()
    {
        if (!extension_loaded('bcmath')) {
            $this->markTestSkipped('BCMath extension not loaded, test skipped');
            return;
        }

        $this->assertEquals('500', Math::Div('1e3', 2));
    }