Ad
  • Custom User Avatar

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

  • Custom User Avatar

    Thanks for the advice. Do these fit the bill, so to speak?

    Test.assertEquals(timeConversion(9204), '09:24 am', '9204 minutes should convert to: 09:24 am');
    Test.assertEquals(timeConversion(4911), '09:51 am', '4911 minutes should convert to: 09:51 am');
    Test.assertEquals(timeConversion(2606), '07:26 pm', '2606 minutes should convert to: 07:26 pm');
    Test.assertEquals(timeConversion(6201), '07:21 am', '6201 minutes should convert to: 07:21 am');
    Test.assertEquals(timeConversion(515), '08:35 am', '515 minutes should convert to: 08:35 am');
    Test.assertEquals(timeConversion(909), '03:09 pm', '909 minutes should convert to: 03:09 pm');