"The expression (look_say(11)) == (21) is false. The expression (look_say(1122)) == (2122) is false." is this feedback wrong ? or i miss understand the kata !!
You should include tests that include numbers with multiple of the same digit e.g. 22322, as when first attempting the kata I didn’t realise that consecutive digits should be grouped together, but I still managed to pass the tests. It wasn’t until submitting the final solution that I happened to get a random test case that contained this type of number and the tests failed.
Scala translation
I have created a Rust translation, ready for review.
Definitely not a 5-kyu kata, more like a 7-kyu one.
Some wrong votes happen
"The expression (look_say(11)) == (21) is false. The expression (look_say(1122)) == (2122) is false." is this feedback wrong ? or i miss understand the kata !!
You should include tests that include numbers with multiple of the same digit e.g. 22322, as when first attempting the kata I didn’t realise that consecutive digits should be grouped together, but I still managed to pass the tests. It wasn’t until submitting the final solution that I happened to get a random test case that contained this type of number and the tests failed.