Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
grandizzy committed Sep 18, 2024
1 parent 5220f88 commit 0cb30eb
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions crates/forge/tests/cli/test_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1310,24 +1310,24 @@ import {Test, console} from "forge-std/Test.sol";
contract DeterministicRandomnessTest is Test {
function testDeterministicArbitraryUint() public {
console.log(vm.arbitraryUint());
console.log(vm.arbitraryUint());
console.log(vm.arbitraryUint());
function testDeterministicRandomUint() public {
console.log(vm.randomUint());
console.log(vm.randomUint());
console.log(vm.randomUint());
}
function testDeterministicArbitraryUintRange() public {
function testDeterministicRandomUintRange() public {
uint256 min = 0;
uint256 max = 1000000000;
console.log(vm.arbitraryUint(min, max));
console.log(vm.arbitraryUint(min, max));
console.log(vm.arbitraryUint(min, max));
console.log(vm.randomUint(min, max));
console.log(vm.randomUint(min, max));
console.log(vm.randomUint(min, max));
}
function testDeterministicArbitraryAddress() public {
console.log(vm.arbitraryAddress());
console.log(vm.arbitraryAddress());
console.log(vm.arbitraryAddress());
function testDeterministicRandomAddress() public {
console.log(vm.randomUint());
console.log(vm.randomUint());
console.log(vm.randomUint());
}
}
"#,
Expand Down

0 comments on commit 0cb30eb

Please sign in to comment.