Skip to main content
Go to Latest
import * as mod from "";

Tests that run the fast-check property-based testing library in the Deno runtime.


This file contains all the 'simple' examples from the fast-check repo (001-simple folder) using Deno.test for the test functions and assertions from the Deno standard library. Missing type annotations were also added to the original fast-check examples.

Since the nested testing API is used, the tests need to be run with the unstable flag as indicated in the command:

$ deno test --unstable ./testing/fast_check_example.ts


********************* decomposePrime() ***********************************