+ " calculated: " + calculated.get(i) + "\n"
+ " expected: " + expected);
}
expected = 2.23333333333;
calculated = ss.variance();
for (i=0; i<dimension; i++) {
if (Math.abs(calculated.get(i)-expected) > tolerance)
fail("SequenceStatistics<" + name + ">: "
+ (i+1) + " dimension: "
+ "wrong variance\n"