Skip to content

Instantly share code, notes, and snippets.

@mcsee
Last active Jun 27, 2021
Embed
What would you like to do?
<?
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