commit 5bf1308c6515d401e4ee0814074c56808535fb00
parent 1cbf9cbacbb1e8decc217268fb893d34d653fada
Author: Jared Tobin <jared@jtobin.io>
Date: Tue, 24 Mar 2020 16:44:16 +0400
tests: add isValidPat to API test
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/test/api.test.js b/test/api.test.js
@@ -22,6 +22,7 @@ describe('the public-facing API', () => {
expect(ob.patq2dec(zod)).to.equal(zoddec)
expect(ob.eqPatq(zod, zod)).to.equal(true)
+ expect(ob.isValidPat(zod)).to.equal(true)
expect(ob.isValidPatp(zod)).to.equal(true)
expect(ob.isValidPatq(zod)).to.equal(true)
})