Skip to content

Commit 38efc1b

Browse files
committed
fix: readd user test coherence score file
1 parent 3a61b38 commit 38efc1b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

subgraph/core/tests/user.test.ts

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { assert, test, describe } from "matchstick-as/assembly/index";
2+
import { BigInt } from "@graphprotocol/graph-ts";
3+
import { computeCoherenceScore } from "../src/entities/User";
4+
5+
describe("Compute coherence score", () => {
6+
test("Slam BigInts together", () => {
7+
assert.bigIntEquals(BigInt.fromI32(8), computeCoherenceScore(BigInt.fromI32(1), BigInt.fromI32(2)));
8+
});
9+
});

0 commit comments

Comments
 (0)