Commit b9d36b49 authored by aniket-engg's avatar aniket-engg Committed by Aniket

unit tests for hhLogs

parent b3112d6d
import "remix_tests.sol"; // this import is automatically injected by Remix. import "remix_tests.sol"; // this import is automatically injected by Remix.
import "./hardhat/console.sol";
contract AssertOkTest { contract AssertOkTest {
function okPassTest() public { function okPassTest() public {
console.log("AssertOkTest", "okPassTest");
Assert.ok(true, "okPassTest passes"); Assert.ok(true, "okPassTest passes");
} }
function okFailTest() public { function okFailTest() public {
console.log("AssertOkTest", "okFailTest");
Assert.ok(false, "okFailTest fails"); Assert.ok(false, "okFailTest fails");
} }
} }
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
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