-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0238c77
commit 7d93ba5
Showing
3 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.19; | ||
|
||
library EchidnaUtils { | ||
event AssertionFailed(string msg, uint256 expected, uint256 actualValue); | ||
|
||
function between(uint256 random, uint256 low, uint256 high) internal pure returns (uint256) { | ||
return low + random % (high - low); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.19; | ||
|
||
import "./EchidnaUtils.sol"; | ||
|
||
contract PairEchidna { | ||
bool isSetup; | ||
|
||
function setup() private { | ||
isSetup = true; | ||
} | ||
|
||
function echidnaTestTodo() public { | ||
//************************* Pre-Conditions *************************/ | ||
if (!isSetup) setup(); | ||
|
||
//************************* Action *************************/ | ||
|
||
//************************* Post-Conditions *************************/ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
testMode: assertion | ||
corpusDir: corpus | ||
testLimit: 50000 |