@Test
public void getBasicClusterStatisticsTest() {

    Row[] rows = new Row[] {
        Row.of(0),
        Row.of(0),
        Row.of(0),
        Row.of(1),
        Row.of(1)
    };
    Params params = ClusterEvaluationUtil.getBasicClusterStatistics(Arrays.asList(rows));
    Assert.assertEquals(params.get(ClusterMetrics.COUNT).intValue(), 5);
    Assert.assertEquals(params.get(ClusterMetrics.K).intValue(), 2);
    Assert.assertArrayEquals(params.get(ClusterMetrics.CLUSTER_ARRAY), new String[]{"0", "1"});
}