float tolerance = .0001f;
GaussianPDF pdf = new GaussianPDF(0f, 1f);
TestUtil.assertClose(0.1109f, pdf.map(new float[]{-1.6f}), tolerance);
TestUtil.assertClose(0.3989f, pdf.map(new float[]{0f}), tolerance);
TestUtil.assertClose(0.3910f, pdf.map(new float[]{.2f}), tolerance);
pdf = new GaussianPDF(1f, 2f);
TestUtil.assertClose(0.0521f, pdf.map(new float[]{-1.6f}), tolerance);
TestUtil.assertClose(0.2197f, pdf.map(new float[]{0f}), tolerance);
TestUtil.assertClose(0.2404f, pdf.map(new float[]{.2f}), tolerance);