worksheetRequest.questions.put(2,"double 5");
WorksheetServlet.getWorksheetResponse(worksheet, worksheetRequest, "");
}
final TokenList result=worksheet.qaPairs.get(1).answer;
Assert.assertEquals(1, result.size());
Assert.assertTrue("Assert that " + result.get(0).getClass() + " is a Number", result.get(0) instanceof org.jscience.mathematics.number.Number);
double value = ((Number) result.get(0)).doubleValue();
Assert.assertEquals(10.0, value,0.01);
System.out.println("worksheet servlet test finished");
}