Ad
  • Custom User Avatar

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

  • Custom User Avatar

    Hi there!

    So I changed the description, no need to store the variables in an array, just return them
    and added some more tests but the kata will still pass if a temporary variable is introduced.
    Do you have any pointers on how to test that?

    Thanks for your help, feel like this is getting closer to what I originally wanted to
    publish!

  • Custom User Avatar

    Yes, this is my first one and I am definitely seeing that!
    Will try to refactor it today and add more tests that specifically check that
    the values the variables are pointing at have actually been changed rather
    than just changing the order :)

  • Custom User Avatar

    Yes, working on it! I'm also changing the description a bit to make sure that the goal of the kata is understood.

  • Custom User Avatar

    haha, I guess you know how much I need to refresh my maths knowledge, thanks :)

  • Custom User Avatar

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

  • Custom User Avatar

    There might be an issue with the last test.

  • Custom User Avatar

    I think this is more difficult than 8 kyu!

  • Custom User Avatar

    The test case is wrong. It's supposed to accept a parameter name but it does not