Synthia
Generic and flexible data structure generator
examples.quickcheck.Prime Class Reference

Detailed Description

Simple illustration of the shrinking process on randomly generated integers.

Author
Sylvain Hallé

Definition at line 31 of file Prime.java.

Static Public Member Functions

static void main (String[] args)
 
static boolean isPrime (int n)
 Checks if an integer is prime. More...
 

Member Function Documentation

◆ isPrime()

static boolean examples.quickcheck.Prime.isPrime ( int  n)
static

Checks if an integer is prime.

Parameters
nThe integer
Returns
true
if the integer is prime,
false
otherwise

Definition at line 54 of file Prime.java.

◆ main()

static void examples.quickcheck.Prime.main ( String[]  args)
static

Definition at line 33 of file Prime.java.


The documentation for this class was generated from the following file: