Search in sources :

Example 1 with DarkLaunchStrategy

use of org.ff4j.strategy.DarkLaunchStrategy in project ff4j by ff4j.

the class PonderationStrategyTest method testInitializations.

@Test
public void testInitializations() {
    PonderationStrategy pfs = new DarkLaunchStrategy();
    pfs.setWeight(0.5);
    new DarkLaunchStrategy(0.5);
}
Also used : PonderationStrategy(org.ff4j.strategy.PonderationStrategy) DarkLaunchStrategy(org.ff4j.strategy.DarkLaunchStrategy) Test(org.junit.Test) AbstractFf4jTest(org.ff4j.test.AbstractFf4jTest)

Aggregations

DarkLaunchStrategy (org.ff4j.strategy.DarkLaunchStrategy)1 PonderationStrategy (org.ff4j.strategy.PonderationStrategy)1 AbstractFf4jTest (org.ff4j.test.AbstractFf4jTest)1 Test (org.junit.Test)1