How do you test edge cases in a coding assignment to make sure the solution is robust and handles unexpected inputs gracefully?