Move all files to php/pest/

This commit is contained in:
Oliver Davies 2025-09-29 23:09:31 +01:00
parent a62c22030e
commit 8784174d85
23 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,14 @@
<?php
declare(strict_types=1);
use App\Anagram;
it('selects the correct anagrams for a word', function () {
$matches = Anagram::forWord(
'listen',
['enlists', 'google', 'inlets', 'banana']
);
assertSame(['inlets'], $matches->toArray());
});