Ad
  • Custom User Avatar

    Matt - I have a screen shot, but I don't believe there is a way to attach it to this discussion. Please let me know if there is a way to do that. But I will copy part of the text here:
    Random tests
    Testing for tristique tellus eu ultrices, tincidunt ultrices ac blandit semper.
    It should work for random inputs too - Expected: {"vowels"=>0, "consonants"=>35}, instead got: {"vowels"=>22, "consonants"=>35}
    Testing for placerat justo habitant dapibus
    It should work for random inputs too - Expected: {"vowels"=>0, "consonants"=>17}, instead got: {"vowels"=>11, "consonants"=>17}

  • Custom User Avatar

    I don't know if there is one sorry.

  • Custom User Avatar

    I've run the ruby version and have found vowels to be different and not always 0, if you could retry and maybe screenshot the tests, it would help me understand what may be going wrong in your case. :)

  • Custom User Avatar

    The "Random tests" section appears to be broken for Ruby. Every single one of these tests expects vowels to be 0, even in cases where there are obviously vowels. The expected values for consonants appears to be correct.