Check for duplicate case values and duplicate default cases.