@Test
public void testRatio() {

    assertEquals(1.0, RiskRatio.compute(10, 10, 100, 100).get(), 0.01);
    assertEquals(6., RiskRatio.compute(10, 10, 1000, 100).get(), 0.01);
    assertEquals(900.082, RiskRatio.compute(10, 99, 1000, 100).get(), 0.01);
}