Hi Roelof, on my side all the test methods went green: changes I need to apply: 1. checkForbiddenParts: word "deletes all the words that contain forbidden parts" ^( forbiddenWords anySatisfy: [ :forbidden | word includesSubstring: forbidden ]) not 2. testisNice "comment stating purpose of message" | testData | testData := #('ugknbfddgicrmopn' 'aaa' 'jchzalrnumimnmhp' 'haegwjzuvuyypxyu'). self assert: (FindNiceStrings new isNice: testData) equals: #('ugknbfddgicrmopn' 'aaaâ) Regards, Nic
On 15 Dec 2018, at 19:36, Roelof Wobben <r.wobben@home.nl> wrote:
Hello,
I have this code : https://gist.github.com/RoelofWobben/7c08680797d1d9f84436653a0e4edd3b <https://gist.github.com/RoelofWobben/7c08680797d1d9f84436653a0e4edd3b> as my solution to a AoC challenge.
But the last test `testIsNice` is still outputting the wrong output. The right output is : `ugknbfddgicrmopn ` and `aaa`
Someone who can think with me where I make a thinking error so that the right output is seen.
Regards,
Roelof