Absence of test cases like +954++54 or -887--85


I forgot about these kind of inputs, but my solution was accepted. The correct output for ‘+954++54’ should be 954 and ‘-887–85’ should be -887. But I guess these kinds of test have not been considered while judging a solution, that’s why my code got accepted initially. Although I have rectified my code for these cases, but I’d like it if these kind of testcases would have been used while judging a solution.