Bitpay\Math\MathTest::testGmpMath PHP Метод

testGmpMath() публичный Метод

public testGmpMath ( )
    public function testGmpMath()
    {
        if (!extension_loaded('gmp')) {
            $this->markTestSkipped('The GMP extension is NOT loaded! You must enable it to run this test');
        }
        Math::add("3324234234234234234", "3324234234234234234");
        $this->assertEquals(new GmpEngine(), Math::getEngine());
    }