parent
c68e81fa03
commit
e3d29c81ee
@ -0,0 +1,12 @@ |
|||||||
|
import "remix_tests.sol"; // this import is automatically injected by Remix. |
||||||
|
|
||||||
|
contract AssertGreaterThanTest { |
||||||
|
|
||||||
|
function greaterThanUintPassTest() public { |
||||||
|
Assert.greaterThan(uint(5), uint(2), "greaterThanUintPassTest passes"); |
||||||
|
} |
||||||
|
|
||||||
|
function greaterThanUintFailTest() public { |
||||||
|
Assert.greaterThan(uint(1), uint(4), "greaterThanUintFailTest fails"); |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue