/**
   * Test method for {@link
   * edu.cmu.lti.similarity.impl.LeacockChodorow#calcRelatedness(java.lang.String,
   * java.lang.String)}.
   */
  @Test
  public void testHappyPathOnSynsets() {
    // both japanese and english!, n and v

    // English pair
    assertEquals(
        2.9957, rc.calcRelatednessOfSynset(n1Synsets.get(1), n2Synsets.get(0)).getScore(), 0.0001);
    assertEquals(
        1.6094, rc.calcRelatednessOfSynset(n1Synsets.get(0), n2Synsets.get(0)).getScore(), 0.0001);
    assertEquals(
        2.6391, rc.calcRelatednessOfSynset(v1Synsets.get(0), v2Synsets.get(0)).getScore(), 0.0001);
    assertEquals(
        1.9459, rc.calcRelatednessOfSynset(v1Synsets.get(1), v2Synsets.get(0)).getScore(), 0.0001);
  }
 @Test
 public void testOnUnknownSynsets() {
   assertEquals(
       LeacockChodorow.min, rc.calcRelatednessOfSynset(null, n1Synsets.get(0)).getScore(), 0.0001);
   assertEquals(LeacockChodorow.min, rc.calcRelatednessOfWords(null, n1), 0.0001);
   assertEquals(LeacockChodorow.min, rc.calcRelatednessOfWords("", n1), 0.0001);
 }