Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai committed Sep 2, 2022
1 parent e69c1b5 commit 41ada31
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/StandardTest.php
Expand Up @@ -32,6 +32,8 @@
use function range;
use ReflectionClass;

use function round;

/**
* @covers \Pipeline\Standard
*
Expand Down Expand Up @@ -167,7 +169,7 @@ public function testReduceFloat(): void

$result = $pipeline->reduce();

$this->assertSame(55 * 1.05, $result);
$this->assertSame(55 * 1.05, round($result, 2));
}

public function testReduceArrays(): void
Expand Down

0 comments on commit 41ada31

Please sign in to comment.