Commit e7e88805 authored by George Hotz's avatar George Hotz

make the test actually fail

parent b17d8fcd
...@@ -21,7 +21,9 @@ describe("MIPSMemory contract", function () { ...@@ -21,7 +21,9 @@ describe("MIPSMemory contract", function () {
console.log(tst);*/ console.log(tst);*/
const hash = await mm.AddLargePreimageFinal(); const hash = await mm.AddLargePreimageFinal();
const realhash = keccak256(new Uint8Array(0));
console.log("comp hash is", hash); console.log("comp hash is", hash);
console.log("real hash is", keccak256(new Uint8Array(0))); console.log("real hash is", realhash);
expect(hash).to.equal(realhash);
}); });
}); });
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment