/* * Test method for 'fi.helsinki.cs.kohahdus.trainer.Task.setSecretInput(String)' */ public void testSetSecretInput() { progtask.setSecretInput("0,4,3"); result = progtask.getSecretInput(); expected = "0,4,3"; assertEquals(expected, result); progtask.setSecretInput("dfhfdrt4"); result = progtask.getSecretInput(); expected = "dfhfdrt4"; assertEquals(expected, result); progtask.setSecretInput(""); result = progtask.getSecretInput(); expected = ""; assertEquals(expected, result); progtask.setSecretInput(null); result = progtask.getSecretInput(); expected = null; assertEquals(expected, result); }