Comparing version 0.1.3 to 0.1.4
{ | ||
"name": "testcheck", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Property testing for JavaScript", | ||
@@ -22,3 +22,3 @@ "homepage": "https://github.com/leebyron/testcheck-js", | ||
"engines": { | ||
"node": "^0.8.0" | ||
"node": ">=0.8.0" | ||
}, | ||
@@ -25,0 +25,0 @@ "files": [ |
@@ -1,4 +0,6 @@ | ||
Generative property testing for JavaScript | ||
========================================== | ||
TestCheck [![Build Status](https://travis-ci.org/leebyron/testcheck-js.svg)](https://travis-ci.org/leebyron/testcheck-js) | ||
========= | ||
Generative property testing for JavaScript. | ||
`testcheck-js` is a library for generative testing of program properties, | ||
@@ -52,6 +54,8 @@ ala QuickCheck. | ||
var result = testcheck.check(testcheck.property( | ||
[gen.int], | ||
(x) => x - x === 0) | ||
)); | ||
var result = testcheck.check( | ||
testcheck.property( | ||
[gen.int], | ||
x => x - x === 0 | ||
) | ||
); | ||
``` | ||
@@ -58,0 +62,0 @@ |
154435
301