Calculator input validation test