private TestSolver solver; //test solve logic, holds test and submitted answers public Candidate5(Candidate candidate, TestSolver solver) { this.candidate = candidate; this.solver = solver; this.solver.setToStart(); InitializeComponent(); setWindowProperties(); }
private Freshness freshness; //test freshness private void InitializeTestSolver(Test test) { solver = new TestSolver(test, new TestProgressHandler(updateTime)); timeHandler += updateTime; }