@Test
public void testReturnsEquivalentProbalitiesWhenSetEquiprobableClasses_() {

    GaussianNaiveBayesTrainer trainer = new GaussianNaiveBayesTrainer()
        .withEquiprobableClasses();
    GaussianNaiveBayesModel model = trainer.fit(
        new LocalDatasetBuilder<>(data, parts),
        new DoubleArrayVectorizer<Integer>().labeled(Vectorizer.LabelCoordinate.LAST)
    );
    Assert.assertEquals(.5, model.getClassProbabilities()[0], PRECISION);
    Assert.assertEquals(.5, model.getClassProbabilities()[1], PRECISION);
}