Skip to content

rweda/jsverify-generators

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSVerify Generators

Common, configurable generators for JSVerify brought to you by Redwood EDA. Used in-house in several testing processes.

ValueGenerator

Generates random values. Disable value types by providing false, or customize by providing different implementations.

const jsc = require("jsverify");
const ValueGenerator = require("@rweda/jsverify-generators/Val");

jsc.assert(jsc.forall(ValueGenerator({ str: false, num: jsc.integer }), val => {
  console.log(val);
  return true;
}));

About

Common, configurable generators for JSVerify

Resources

Stars

Watchers

Forks

Packages

No packages published