public function testComparisonWithBCMathAndExponent() { if (!extension_loaded('bcmath')) { $this->markTestSkipped('BCMath extension not loaded, test skipped'); return; } $this->assertEquals('1', Math::Comp('1e3', 2)); $this->assertEquals('-1', Math::Comp(2, '1e3')); $this->assertEquals('0', Math::Comp('1e3', '1e3')); }