You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

14 lines
362 B

const chai = require("chai");
const path = require("path");
const compiler = require("../index.js");
const assert = chai.assert;
describe("SHA256 test", () => {
it("Should create a constant circuit", async () => {
const cir = await compiler(path.join(__dirname, "circuits", "constants_test.jaz"));
assert.equal(cir.nVars, 2);
});
});