Ad
  • Custom User Avatar

    well isn't part of the job of an programmer getting the information (in this case from the unit tests) to be able to implement what he/she should implement?

    In the real world you won't get precise explaination what to do.

  • Custom User Avatar

    There is a sample test for that, isn't it?

    add(122, 81), 1103
    
  • Custom User Avatar

    well i thought the meme should make it pretty clear should I add the explanation again? I think that this kata does not need it but yeah....
    Btw sillyAdd(2,11) is really just 11+2 only when there is a carry digit the result is diffrent from a real addition.

  • Custom User Avatar

    In this "silly addition" method, you are still required to add corresponding digits for ones, tens, hundreds, etc. You align numbers to the right, not to the left.