Skip to content

Instantly share code, notes, and snippets.

Last active Jun 27, 2021
What would you like to do?
function test08LeftPatternMiddleOfRightOneShouldBeSimplified() {
(new LikePatternSimplifier())->simplify(['house', 'casahousecasa']));
function test09RightPatternMiddleOfLeftOneShouldBeSimplified() {
(new LikePatternSimplifier())->simplify(['enmediodetodo', 'medio']));
function test10RightPatternMiddleOfLeftOneAnotherUnrelatedShouldBeSimplified() {
['medio', 'nada'],
(new LikePatternSimplifier())->simplify(['enmediodetodo', 'medio', 'nada']));
//Test data were suggested by Spanish speaking QA Engineers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment