Scaffold Minecraft game stubs
Add empty per-component subdirectories under src/{Analyser,Log,Parser,Pattern}/Minecraft/
with .gitkeep markers, plus MinecraftDetective stub extending the base Detective with
a TODO body. Smoke test under test/tests/Games/Minecraft/ asserts the detective is
instantiable. Introduces src/Pattern/ as a new top-level component directory.
This commit is contained in:
15
test/tests/Games/Minecraft/SmokeTest.php
Normal file
15
test/tests/Games/Minecraft/SmokeTest.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace IndifferentKetchup\Codex\Test\Tests\Games\Minecraft;
|
||||
|
||||
use IndifferentKetchup\Codex\Detective\Minecraft\MinecraftDetective;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class SmokeTest extends TestCase
|
||||
{
|
||||
public function testDetectiveIsInstantiable(): void
|
||||
{
|
||||
$detective = new MinecraftDetective();
|
||||
$this->assertInstanceOf(MinecraftDetective::class, $detective);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user