Package com.mapr.synth.samplers

Examples of com.mapr.synth.samplers.ForeignKeySampler


import org.junit.Test;

public class ForeignKeySamplerTest {
    @Test
    public void testSample() {
        check(1000, getDistribution(0), new ForeignKeySampler(1000, 0));
        check(1000, getDistribution(0.5), new ForeignKeySampler(1000, 0.5));
        check(1000, getDistribution(1), new ForeignKeySampler(1000, 0.3));
    }
View Full Code Here

TOP

Related Classes of com.mapr.synth.samplers.ForeignKeySampler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.