Ad
  • Custom User Avatar

    Thanks for your katas, always makes me thinking hard

  • Custom User Avatar

    For me there was a problem with random test cases. 3-4 tests failed because of mismatch like 0.25 should equal 0.24, 0.79 should equal 0.8 and 0.46 should equal 0.47 (these are errors from single test run). When I copied code from accepted solution same problem persisted. Seems like random test cases in such katas isn't that good idea.

  • Custom User Avatar

    Please can you stop using word simple in descriptions to your katas?
    That is a bit annoying, especially for beginners, who don't perceive these tasks as simple. Thank you

  • Custom User Avatar

    Please fix secod test of Rows test case.
    Rows
    should have 63 rows (1 Passed, 0 Failed) # this passed
    should should return the expected results
    ✘ expected true to respond to 'true?' or perhaps you meant 'be true' or 'be_truthy' # this is failed
    Despite my code is identical to accepted solutions, error still appears.
    Also noticed similar behavior in 2 other katas of yours with exactly same error:
    expected true to respond to 'true?' or perhaps you meant 'be true' or 'be_truthy'

  • Custom User Avatar

    Same to me, when I looked into solutions, I've found exatcly same query as mine, but still get error in Rows test case, here it is:
    Rows should have 63 rows (1 Passed, 0 Failed) should should return the expected results ✘ expected true to respond totrue?or perhaps you meant "be true" or "be_truthy"
    Also had the same situation in 2 other katas from this author

  • Custom User Avatar

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

  • Custom User Avatar

    @g964, I haven't asked you about examples of other katas, advices or reviews.
    I'm asking you to add descriptive error messages to simplify life of other people.
    Please follow my advice, because if you'll get real programming job, people will be thankful that you make things readable and self-descriptive.
    If you are not going to do this just say it. No need for stuff like you've wrote above.

  • Custom User Avatar

    @g964, don't you think it should be by default? It do not resolve the issue

  • Custom User Avatar

    Please make more descriptive error messages, True should equal False gives no understading what is wrong

  • Custom User Avatar
  • Custom User Avatar

    Second test in Python version pass in example test cases, but gives error when I submit it

  • Custom User Avatar

    4th test in Python says 2 should equal 1
    what does it mean?

  • Custom User Avatar

    # Stop codon
    'UAA':'Stop', 'UGA':'Stop', 'UAG':'Stop'
    This is preloaded in Acid dict and gives error in Python version, when set to empty strings - all tests pass

  • Custom User Avatar

    Test.it('Single upgrade')
    marine = Marine(10, 1)
    Test.assert_equals(Marine_weapon_upgrade(marine).damage, 11)
    Test.assert_equals(Marine_weapon_upgrade(marine).damage, 11)
    Seems like second test is incorrect, or is it intentional?
    Other tests have only singe assertion.

  • Custom User Avatar

    @asmgf, @Unnamed Both done, thank you for suggestions

  • Loading more items...