Skip to content

Commit 69ed964

Browse files
committed
chore: lint
1 parent b11f4ef commit 69ed964

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

src/test/forge-coverage/UIntArrayLib.c.t.sol

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {Test} from "forge-std/Test.sol";
66
import {UintArrayLib} from "../../UintArrayLib.sol";
77

88
contract UintArrayLibTester {
9-
109
function max(uint256[] memory x) external pure returns (uint256) {
1110
uint256 m = UintArrayLib.max(x);
1211
return m;
@@ -32,7 +31,6 @@ contract UintArrayLibTester {
3231
return y;
3332
}
3433

35-
3634
// function indexOf(uint256[] memory x, uint256 v) external pure returns (bool, uint256) {
3735
// for (uint256 i; i < x.length;) {
3836
// if (x[i] == v) {
@@ -46,10 +44,6 @@ contract UintArrayLibTester {
4644
// return (false, 0);
4745
// }
4846

49-
50-
51-
52-
5347
// function argSort(uint256[] memory x) external pure returns (uint256[] memory y, uint256[] memory idxs) {
5448
// idxs = new uint256[](x.length);
5549
// // fill in index array
@@ -82,7 +76,6 @@ contract UintArrayLibTester {
8276
// quickSort(x, int256(0), int256(x.length - 1));
8377
// }
8478

85-
8679
// function quickSort(uint256[] memory arr, int256 left, int256 right) external pure {
8780
// if (left == right) return;
8881
// int256 i = left;
@@ -107,7 +100,6 @@ contract UintArrayLibTester {
107100
// if (i < right) quickSort(arr, i, right);
108101
// }
109102

110-
111103
// function quickSort(uint256[] memory arr, int256 left, int256 right, uint256[] memory indexArray) external pure {
112104
// if (left == right) return;
113105
// int256 i = left;
@@ -133,7 +125,6 @@ contract UintArrayLibTester {
133125
// }
134126
// }
135127

136-
137128
// function append(uint256[] memory x, uint256 v) external pure returns (uint256[] memory y) {
138129
// y = new uint256[](x.length + 1);
139130
// uint256 i;
@@ -172,7 +163,6 @@ contract UintArrayLibTester {
172163
// }
173164
// }
174165

175-
176166
// function populate(uint256[] memory a, uint256[] memory b) external pure {
177167
// for (uint256 i; i < a.length;) {
178168
// a[i] = b[i];
@@ -232,7 +222,6 @@ contract UintArrayLibTester {
232222
// }
233223
// }
234224

235-
236225
// function toInt256(uint256[] memory x) external pure returns (int256[] memory y) {
237226
// y = new int256[](x.length);
238227
// for (uint256 i; i < x.length;) {
@@ -251,7 +240,7 @@ contract UintArrayLibTester {
251240
contract UintArrayLibCoverage is Test {
252241
using UintArrayLib for uint256[];
253242

254-
UintArrayLibTester public tester;
243+
UintArrayLibTester public tester;
255244

256245
function setUp() public {
257246
tester = new UintArrayLibTester();

0 commit comments

Comments
 (0)