Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions tests/Anagram/AnagramTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,16 @@ public function testCanCheckString3(): void
self::markTestSkipped();
self::assertFalse(Anagram::check('roast beef', 'goat roast'));
}

public function testCanCheckStringPunctuation(): void
{
self::markTestSkipped();
self::assertTrue(Anagram::check('Elv.is', 'lives'));
}

public function testCanCheckStringWhitespace(): void
{
self::markTestSkipped();
self::assertTrue(Anagram::check('El vis', 'lives'));
}
}
10 changes: 10 additions & 0 deletions tests/Anagram/Complete/AnagramCompleteTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,14 @@ public function testCanCheckString3(): void
{
self::assertFalse(AnagramComplete::check('roast beef', 'goat roast'));
}

public function testCanCheckStringPunctuation(): void
{
self::assertTrue(AnagramComplete::check('Elv.is', 'lives'));
}

public function testCanCheckStringWhitespace(): void
{
self::assertTrue(AnagramComplete::check('El vis', 'lives'));
}
}