Ad
  • Custom User Avatar

    My friend, we write solutions not tests. The TESTS round answers, not solutions. What are you talking about?

  • Default User Avatar

    to be fair, he fixed the code. It was never specified to to keep use the same module

  • Custom User Avatar
  • Custom User Avatar

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

  • Default User Avatar

    Hi lexxkrt.

    I've noticed that you comment quite often under more or less notable solutions which don't do what is exactly specified in a Kata descritpion.

    In life not all things are in perfect order (e.g. code and documentation) and to submit a solution only tests need to pass, not the description. I appreciate that you notice these inconsistencies and it will be more benefitial to submit an Issue for the Kata for someone to make it straight or improve tests yourself, so that things in description are also tested. Comments under specific solutions may not reach an author of the Kata who can improve them. Unless thats not your goal. ;)

    Have a great day and make best use of your time for the benefit of the community while you're active in here. :)

  • Default User Avatar

    Hi lexxkrt.

    I've noticed that you comment quite often under more or less notable solutions which don't do what is exactly specified in a Kata descritpion.

    In life not all things are in perfect order (e.g. code and documentation) and to submit a solution only tests need to pass, not the description. I appreciate that you notice these inconsistencies and it will be more benefitial to submit an Issue for the Kata for someone to make it straight or improve tests yourself, so that things in description are also tested. Comments under specific solutions may not reach an author of the Kata who can improve them. Unless thats not your goal. ;)

    Have a great day and make best use of your time for the benefit of the community while you're active in here. :)

  • Custom User Avatar

    This test will not pass because it's not the test it should pass.

    From test cases (I don't think it's a spoiler because it is clearly stated in the task):

    def test_case():
        test.assert_equals(round(distance_between_points(a, b), 6), round(expected, 6))
    
  • Default User Avatar

    It only states that the TEST round it's answer to 6 decimal places.
    Not that you should round your answer to 6 decimal places.
    Next time read carefully before spamming a forum about it.