Skip to content

Instantly share code, notes, and snippets.

@mcsee
Last active December 24, 2023 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcsee/2bd6fdca179095400a4f5f6f9e52a696 to your computer and use it in GitHub Desktop.
Save mcsee/2bd6fdca179095400a4f5f6f9e52a696 to your computer and use it in GitHub Desktop.
<?
function test07MultipleRelatedPatternsSimplifyTwoOfThem() {
$this->assertEquals(['Arcade Fire', 'Radiohead', 'Sigur'],
(new LikePatternSimplifier())->simplify(
['Arcade Fire',
'Radiohead.',
'Radiohead',
'Sigur Ros',
'Sigur']));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment