Skip to content

Commit

Permalink
Another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai committed Sep 2, 2022
1 parent 41ada31 commit 7c3f54c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/StandardTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@
use function Pipeline\map;
use Pipeline\Standard;
use function range;
use ReflectionClass;

use function round;
use ReflectionClass;

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

$result = $pipeline->reduce();

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

public function testReduceArrays(): void
Expand Down

0 comments on commit 7c3f54c

Please sign in to comment.