for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
use Litipk\BigNumbers\Decimal;
use PHPUnit\Framework\TestCase;
class issue55Test extends TestCase
{
public function test_that_forcing_concrete_precision_on_creation_does_not_corrupt_the_passed_value()
$this->assertEquals(4.0, Decimal::create(4.0, 8)->asFloat());
}