Ad
  • Custom User Avatar

    what is this error?

    n file included from main.cpp:7:
    ./tests.cpp:9:30: error: call to non-static member function without an object argument
    testequal(LongestConsec::longestConsec(arr, k), expected);
    ~~~~~~~~~~~~~~~^~~~~~~~~~~~~
    1 error generated.

  • Custom User Avatar

    why such a test does not pass?

    DecryptExmapleTests
    Expected: equal to "This kata is very interesting!"
    Actual: "This kata is very interesting!

  • Custom User Avatar

    Yes, that's exactly what I wrote about.
    Already, I found errors and "Attempt" passed. Thanks.

  • Default User Avatar

    Do you mean that, when you press "Test" your solution works, but when you press "Attempt" your solution fails?

    If so, that is possible - the "Test" part only contains a few fixed/specific tests; in the "Attempt" there are many random tests, including configurations that you may not have thought about/implemented correctly.

  • Custom User Avatar

    ...what?

  • Custom User Avatar

    However, the tests pass no trial, is it possible?