remix-project mirror
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
remix-project/libs/remix-tests/tests/examples_0/assert_equal_test.sol

12 lines
338 B

import "remix_tests.sol"; // this import is automatically injected by Remix.
contract AssertEqualTest {
function equalUintPassTest() public {
Assert.equal(uint(1), uint(1), "equalUintPassTest fails");
}
function equalUintFailTest() public {
Assert.equal(uint(1), uint(2), "equalUintFailTest fails");
}
}