Logo
Explore Help
Sign In
logos-storage/logos-storage-contracts-eth
1
0
Fork 0
You've already forked logos-storage-contracts-eth
mirror of https://github.com/logos-storage/logos-storage-contracts-eth.git synced 2026-02-01 11:53:20 +00:00
Code Issues Packages Projects Releases Wiki Activity
logos-storage-contracts-eth/contracts/libs/TestUtils.sol

18 lines
319 B
Solidity
Raw Normal View History

Add more tests - Marketplace tests for requestsForHost, and additional tests for myRequests and mySlots - Added Utils lib with tests - Added additional Bytes32AddressSetMap.keys expectations
2022-11-23 00:14:39 +11:00
// 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)
{
Refactor to data access layer Create a DAL lib with a Database struct that contains all tables and relationships. Referential integrity is guaranteed.
2022-12-01 15:53:28 +11:00
return Utils.resize(array, newSize);
Add more tests - Marketplace tests for requestsForHost, and additional tests for myRequests and mySlots - Added Utils lib with tests - Added additional Bytes32AddressSetMap.keys expectations
2022-11-23 00:14:39 +11:00
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.0 Page: 69ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API