### Question:
Entropy extends AnswerScorer { public Entropy(Environment env) { load(env); } Entropy(Environment env); @Override double scoreAnswer(Question q, Answer a);  }### Answer:
@Test public void testGetEntropy() { assertTrue( e.entropy(Arrays.asList("zucchini", "sepals")) > e.entropy(Arrays.asList("the", "of"))); String w1 = "Subverting Randall’s editor’s admiral intentions, " + "alternative enjoyment ensues composing complete " + "paragraphs entirely shunning Randall’s thousand " + "commonest dictionary terms. Bombastic prose " + "frequently results."; List<String> ws1 = Arrays.asList(w1.split(" ")); String w2 = "See spot run. Spot runs fast. Spot and Joey play in the " + "park."; List<String> ws2 = Arrays.asList(w2.split(" ")); assertTrue(e.entropy(ws1) > e.entropy(ws2)); }