Skip to content

Commit

Permalink
Roll back line break
Browse files Browse the repository at this point in the history
  • Loading branch information
divergentdave committed Jun 5, 2024
1 parent 423e978 commit 3d4475b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions packages/prg/src/index.spec.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { assert } from "chai";
import { PrgSha3 } from "./index.js";
import { Field128, Field64 } from "@divviup/field";
import PrgSha3TestVector from "./testVectors/PrgSha3.json" assert { type:
"json" };
import PrgSha3TestVector from "./testVectors/PrgSha3.json" assert { type: "json" };

function assertBuffersEqual(x: Uint8Array, y: Uint8Array) {
assert.equal(Buffer.from(x).toString("hex"), Buffer.from(y).toString("hex"));
Expand Down
9 changes: 3 additions & 6 deletions packages/prio3/src/prio3.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,9 @@ import { TestFlp128 } from "./flp.spec.js";
import { PrgSha3 } from "@divviup/prg";
import type { TestVector } from "@divviup/vdaf";
import { arr } from "@divviup/common";
import countTestVector0 from "./testVectors/Prio3Count_0.json" assert { type:
"json" };
import histogramTestVector0 from "./testVectors/Prio3Histogram_0.json" assert { type:
"json" };
import sumTestVector0 from "./testVectors/Prio3Sum_0.json" assert { type:
"json" };
import countTestVector0 from "./testVectors/Prio3Count_0.json" assert { type: "json" };
import histogramTestVector0 from "./testVectors/Prio3Histogram_0.json" assert { type: "json" };
import sumTestVector0 from "./testVectors/Prio3Sum_0.json" assert { type: "json" };

describe("prio3 vdaf", () => {
it("test flp", async () => {
Expand Down

0 comments on commit 3d4475b

Please sign in to comment.