mirror of
https://github.com/logos-storage/logos-storage-contracts-eth.git
synced 2026-01-10 17:23:12 +00:00
18 lines
320 B
Solidity
18 lines
320 B
Solidity
|
|
// SPDX-License-Identifier: MIT
|
||
|
|
pragma solidity ^0.8.0;
|
||
|
|
|
||
|
|
import "./Utils.sol";
|
||
|
|
|
||
|
|
// exposes public functions for testing
|
||
|
|
contract TestUtils {
|
||
|
|
|
||
|
|
function resize(bytes32[] memory array,
|
||
|
|
uint8 newSize)
|
||
|
|
public
|
||
|
|
pure
|
||
|
|
returns (bytes32[] memory)
|
||
|
|
{
|
||
|
|
return Utils._resize(array, newSize);
|
||
|
|
}
|
||
|
|
}
|