818283848586878889
@Test public void testCompareToNonResult() { NBestResult r = new NBestResult("res1", 2.0, 3.0, 34.0); Integer a = 0; if (r.compareTo(a) == 0) fail("CompareTo not working properly for nBestResult"); } }