import quickml.supervised.classifier.decisionTree.tree.ClassificationCounter;
public class GiniImpurityScorerTest {
@Test
public void sameClassificationTest() {
ClassificationCounter a = new ClassificationCounter();
a.addClassification("a", 4);
ClassificationCounter b = new ClassificationCounter();
b.addClassification("a", 4);
GiniImpurityScorer scorer = new GiniImpurityScorer();
Assert.assertEquals(scorer.scoreSplit(a, b), 0.0);
}