From 59b701a6be9a479aa261a0f44eee64203bf78f30 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 23 Feb 2018 10:54:58 +0100 Subject: [PATCH] Fix formatting --- tests/Math/Functions/FunctionsTest.php | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/tests/Math/Functions/FunctionsTest.php b/tests/Math/Functions/FunctionsTest.php index 517231cb1..ae5f43cb2 100644 --- a/tests/Math/Functions/FunctionsTest.php +++ b/tests/Math/Functions/FunctionsTest.php @@ -71,26 +71,10 @@ class FunctionsTest extends \PHPUnit\Framework\TestCase public function testPower() { - self::assertEquals( - [4, 9, 16], - Functions::powerInt([2, 3, 4], 2) - ); + self::assertEquals([4, 9, 16], Functions::powerInt([2, 3, 4], 2)); + self::assertEquals([8, 27, 64], Functions::powerInt([2, 3, 4], 3)); - self::assertEquals( - [8, 27, 64], - Functions::powerInt([2, 3, 4], 3) - ); - - self::assertEquals( - [2, 3, 8], - Functions::powerInt([4, 9, 16], 1/2), - '', 0.0 - ); - - self::assertEquals( - [2, 3, 8], - Functions::powerInt([8, 27, 64], 1/3), - '', 0.0 - ); + self::assertEquals([2, 3, 8], Functions::powerInt([4, 9, 16], 1/2), '', 0.0); + self::assertEquals([2, 3, 8], Functions::powerInt([8, 27, 64], 1/3), '', 0.0); } }