We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a61b38 commit 38efc1bCopy full SHA for 38efc1b
subgraph/core/tests/user.test.ts
@@ -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