svoid test_PhilosophyBot1_sanitizeInput() { new PhilosophyBot1 bot; assertEqualsVerbose("what is", bot.sanitizeInput("what is $x")); assertEqualsVerbose("what is this", bot.sanitizeInput("what is (this")); assertEqualsVerbose("what is this", bot.sanitizeInput("what is (this")); assertEqualsVerbose("i don't understand", bot.sanitizeInput("i don't understand")); assertEqualsVerbose("quoted 1", bot.sanitizeInput("\"quoted\" 1")); // these seem OK for javaTokWithBrackets assertEqualsVerbose("a'", bot.sanitizeInput("a'")); assertEqualsVerbose("'a'", bot.sanitizeInput("'a'")); }