@@ -0,0 +1,627 @@
+package uk.ac.ebi.quickgo.solr.model.statistics;%0A%0Aimport org.junit.Test;%0A%0Aimport static junit.framework.TestCase.assertEquals;%0A%0A/**%0A * @Author Tony Wardell%0A * Date: 04/11/2015%0A * Time: 11:39%0A * Created with IntelliJ IDEA.%0A */%0Apublic class StatisticTupleTest %7B%0A%0A%09@Test%0A%09public void testPercentageCalculation()%7B%0A%0A%09%09String type = %22Test%22;%0A%09%09String key = %22GO:12345%22;%0A%09%09long hits = 10;%0A%0A%09%09//assertEquals(10.0f, (10f/100)*100);%0A%0A%09%09StatisticTuple statisticTuple = new StatisticTuple(type, key, hits);%0A%09%09statisticTuple.calculateStatisticTuplePercentage(100);%0A%09%09assertEquals(10.0f, statisticTuple.getStatisticTuplePercentage());%0A%0A%09%7D%0A%0A%0A%7D%0A

Correct spelling mistake.