Challenge 6 Testing Issue


#1

Hi!

As embarrassing as this is to admit, the code I submitted was wrong (I took the second element in the string instead of cutting off the first resulting in every 10 -> 1). However, what is more of concern to me is that the site did not detect this as incorrect and I was allowed to go on to the next challenges all the way to challenge 11 (7,8,9 made use of this solution). I’ve since updated my code for challenge 11 so that it works properly but I was just wondering why not test on all 100 cases present (if not more) my code would have failed for any row greater than 9, but apparently none were tested (unless the value was the same as for the first row).


#2

The tests definitely are not perfect. Glad you knew how to best refactor!