Skip to content

Commit

Permalink
CR fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-goral committed Mar 30, 2020
1 parent 9b6a68b commit 2b3ab46
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,4 @@ private fun getOverheadTime(
0.0 else
(overview.elapsedTime.millis() - testCases.sumTime()) / testCases.size

private fun List<TestCase>.sumTime(): Double = this
.map { it.elapsedTime.millis() }
.reduce { acc, d -> acc + d }
private fun List<TestCase>.sumTime(): Double = sumByDouble { it.elapsedTime.millis() }

0 comments on commit 2b3ab46

Please sign in to comment.