diff --git a/tests/BlogListGeneratorTest.php b/tests/BlogListGeneratorTest.php new file mode 100644 index 0000000..6c883a2 --- /dev/null +++ b/tests/BlogListGeneratorTest.php @@ -0,0 +1,17 @@ +assertEquals("Example", BlogListGenerator::getName("blogs/example.md")); + } + + public function testGetArticleAmount() + { + $this->assertEquals(5, BlogListGenerator::getArticleAmount("example")); + } +}