/** Tests ScorecardEditor(String user) method with accuracy state. */ public void testScorecardEditorAccuracy1() { ScorecardEditor e = new ScorecardEditor("crackme"); assertEquals("constructor is wrong.", "crackme", e.getUser()); }
/** Tests ScorecardEditor(Scorecard scorecard, String user) method with accuracy state. */ public void testScorecardEditorAccuracy2() { assertEquals("constructor is wrong.", "crackme", editor.getUser()); assertEquals("constructor is wrong.", card, editor.getScorecard()); }
/** Tests getUser() method with accuracy state. */ public void testGetUserAccuracy() { assertEquals("getUser is wrong.", "crackme", editor.getUser()); }