norm.addSegregator(new IntegerBalanceSegregator(a,2));
return norm;
}
private void check(DataNormalization norm, int req) {
Segregator s = norm.getSegregators().get(0);
double[][] arrayOutput = ((NormalizationStorageArray2D)norm.getStorage()).getArray();
Assert.assertEquals(req, arrayOutput.length);
}