@@ -0,0 +1,682 @@
+package com.hongliangjie.fugue.utils;%0A%0Aimport org.junit.Test;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0A/**%0A * Created by liangjie on 3/1/16.%0A */%0Apublic class LogGammaTest %7B%0A%0A    @Test%0A    public void testLogGamma() throws Exception %7B%0A        double y1_diff = Math.abs(LogGamma.logGamma(1.0) - 0.0);%0A        assertEquals(%22Testing lnGamma(1.0)%22, true, y1_diff %3C 10e-10);%0A        double y2_diff = Math.abs(LogGamma.logGamma(0.5) - 0.5723649429246999);%0A        assertEquals(%22Testing lnGamma(0.5)%22, true, y2_diff %3C 10e-10);%0A        double y3_diff = Math.abs(LogGamma.logGamma(0.3) - 1.0957979948180756);%0A        assertEquals(%22Testing lnGamma(0.3)%22, true, y3_diff %3C 10e-10);%0A    %7D%0A%7D

add log gamma test