Package fj.test

Examples of fj.test.CheckResult


    Property p = property(arbitrary(failingGen), (Integer i) -> {
      return prop(i == 0);
    });

    CheckResult res = p.check(
      1, /*minSuccessful*/
      0, /*maxDiscarded*/
      0, /*minSize*/
      1 /*maxSize*/
    );
    assertTrue("Exception not propagated!", res.isGenException());
  }
View Full Code Here

TOP

Related Classes of fj.test.CheckResult

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.