@Test
public void testTokenLevelStats_mixed() throws Exception {

    // label of c is false
    // token 80 precision for label <1>, 0 for label <2>
    String result = "a I-<1> I-<1>\nb <1> <1>\nc I-<2> <1>\nd I-<1> <1>\ne <1> <1>\n";
    //System.out.println(result);
    Stats wordStats = EvaluationUtilities.tokenLevelStats(result);
    LabelStat labelstat1 = wordStats.getLabelStat("<1>");
    LabelStat labelstat2 = wordStats.getLabelStat("<2>");
    assertThat(labelstat1.getObserved(), is(4));
    assertThat(labelstat1.getExpected(), is(4));
    assertThat(labelstat1.getFalseNegative(), is(0));
    assertThat(labelstat1.getFalsePositive(), is(1));
    assertThat(labelstat1.getSupport(), is(4L));
    assertThat(labelstat2.getObserved(), is(0));
    assertThat(labelstat2.getExpected(), is(1));
    assertThat(labelstat2.getFalseNegative(), is(1));
    assertThat(labelstat2.getFalsePositive(), is(0));
    assertThat(labelstat2.getSupport(), is(1L));
}