public void testMAX() throws Exception {
int input[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
EvalFunc<DataAtom> max = new MAX();
Tuple tup = Util.loadNestTuple(new Tuple(1), input);
DataAtom output = new DataAtom();
max.exec(tup, output);
assertEquals("Expected max to be 10.0", 10.0, output.numval());
}