From 746154be9754e7ab17b824723077c9b10d517c68 Mon Sep 17 00:00:00 2001 From: Valentyn Kolesnikov Date: Wed, 29 Nov 2023 06:08:11 +0200 Subject: [PATCH] Update SolutionTest.php --- src/test/php/g0001_0100/s0001_two_sum/SolutionTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/php/g0001_0100/s0001_two_sum/SolutionTest.php b/src/test/php/g0001_0100/s0001_two_sum/SolutionTest.php index a528c5c..ac3489c 100644 --- a/src/test/php/g0001_0100/s0001_two_sum/SolutionTest.php +++ b/src/test/php/g0001_0100/s0001_two_sum/SolutionTest.php @@ -6,18 +6,18 @@ class SolutionTest extends TestCase { public function testTwoSum() { - $this->assertEquals([0, 1], (new \g0001_0100\s0001_two_sum\Solution())->twoSum([2, 7, 11, 15], 9)); + $this->assertEquals([0, 1], (new Solution())->twoSum([2, 7, 11, 15], 9)); } public function testTwoSum2() { - $this->assertEquals([1, 2], (new \g0001_0100\s0001_two_sum\Solution())->twoSum([3, 2, 4], 6)); + $this->assertEquals([1, 2], (new Solution())->twoSum([3, 2, 4], 6)); } public function testTwoSum3() { - $this->assertEquals([0, 1], (new \g0001_0100\s0001_two_sum\Solution())->twoSum([3, 3], 6)); + $this->assertEquals([0, 1], (new Solution())->twoSum([3, 3], 6)); } public function testTwoSum4() { - $this->assertEquals([-1, -1], (new \g0001_0100\s0001_two_sum\Solution())->twoSum([3, 3], 7)); + $this->assertEquals([-1, -1], (new Solution())->twoSum([3, 3], 7)); } }