Ad
  • Default User Avatar

    In groovy it seems to be generating random tests of strings that are not divisible by 8 - is this intended and we need to code to remove incomplete bits (but then... how do we know where which bit starts and ends and what is valid?). Seems like an error.

    My code passes fixed tests but not random because of this.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    not sure why this was marked solved, just did this in groovy and had the same issue. Setting as a float, which is a requirement in the instructions, causes it to fail. Perhaps an explanation of why it was marked resolved would be nice ie a groovy bug, but, its 5 years old, not sure its a groovy bug? ¯_(ツ)_/¯

  • Default User Avatar

    seem to have another instance of groovy random tests failing even though the actual tests pass

    Random tests
    assert sumMul(n, m) == sol(n, m)
           |      |  |  |  |   |  |
           |      53 |  |  |   53 721689
           618373112 |  |  4913340408
                     |  false
                     721689
    
  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution