Skip to content

Commit

Permalink
added test & typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dovgopoly committed Jul 29, 2024
1 parent 787e662 commit 0b51981
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/CircuitZKit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ describe("CircuitZKit", () => {
});
});

describe("createVerifier", () => {
describe("createWitness", () => {
useFixtureProject("simple-circuits");

it("should correctly create witness", async () => {
Expand All @@ -200,6 +200,7 @@ describe("CircuitZKit", () => {

expect(await multiplierCircuit.calculateWitness({ a, b })).to.deep.eq([1n, 200n, 20n, 10n]);
expect(await multiplierCircuit.calculateWitness({ a, b })).to.deep.eq([1n, 200n, 20n, 10n]);
expect(await multiplierCircuit.calculateWitness({ a, b: 30 })).to.deep.eq([1n, 600n, 20n, 30n]);
});
});

Expand Down

0 comments on commit 0b51981

Please sign in to comment.