diff --git a/DIRECTORY.md b/DIRECTORY.md index 90fec52..a01b826 100644 --- a/DIRECTORY.md +++ b/DIRECTORY.md @@ -21,6 +21,7 @@ ## Projecteuler * [Problem1](./ProjectEuler/Problem1.php) * [Problem2](./ProjectEuler/Problem2.php) + * [Problem3](./ProjectEuler/Problem3.php) * [Problem5](./ProjectEuler/Problem5.php) * [Problem7](./ProjectEuler/Problem7.php) * [Problem9](./ProjectEuler/Problem9.php) diff --git a/ProjectEuler/Problem3.php b/ProjectEuler/Problem3.php new file mode 100644 index 0000000..dd8843f --- /dev/null +++ b/ProjectEuler/Problem3.php @@ -0,0 +1,30 @@ +assertSame(4613732, problem2()); } + public function testProblem3(): void + { + $this->assertSame(6857, problem3()); + } + public function testProblem5(): void { $this->assertSame(232792560, problem5());