• Custom User Avatar

    forked and approved

  • Custom User Avatar
  • Custom User Avatar

    Random tests should generate a random number of type long since the method ExpandedForm takes a parameter of type long:

    long num = (long)(rnd.NextDouble() * (long.MaxValue));
    
  • Custom User Avatar

    Another edge case test should be added for num = long.MaxValue:

    Assert.AreEqual("9000000000000000000 + 200000000000000000 + 20000000000000000 + 3000000000000000 + 300000000000000 + 70000000000000 + 2000000000000 + 30000000000 + 6000000000 + 800000000 + 50000000 + 4000000 + 700000 + 70000 + 5000 + 800 + 7", Kata.ExpandedForm(long.MaxValue));
    
  • Custom User Avatar

    If the authour of the kata is active, they get a notification. Otherwise no one will know unless someone randomly comes by, so you may want to mention it in a comment to the kata. (Or maybe I don't know something...)