/** * @covers Moontoast\Math\BigNumber::getScale */ public function testGetScale() { $bn1 = new BigNumber('9223372036854775808'); $bn2 = new BigNumber(2147483647, 20); $this->assertEquals(0, $bn1->getScale()); $this->assertEquals(20, $bn2->getScale()); }