public void testReducer() throws Exception {
generateSamples(100, 0, 0, 1);
generateSamples(100, 2, 0, 1);
generateSamples(100, 0, 2, 1);
generateSamples(100, 2, 2, 1);
DirichletState<VectorWritable> state = new DirichletState<VectorWritable>(new SampledNormalDistribution(
new VectorWritable(new DenseVector(2))), 20, 1);
DirichletMapper mapper = new DirichletMapper();
mapper.configure(state);
DummyOutputCollector<Text,VectorWritable> mapCollector = new DummyOutputCollector<Text,VectorWritable>();