Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

ShortStringsTest

Inherits: Test, SymTest

State Variables

_fallback

string _fallback;

Functions

testRoundtripShort

function testRoundtripShort(string memory input) external pure;

symbolicRoundtripShort

function symbolicRoundtripShort() external pure;

testRoundtripWithFallback

function testRoundtripWithFallback(string memory input, string memory fallbackInitial) external;

symbolicRoundtripWithFallbackLong

function symbolicRoundtripWithFallbackLong() external;

symbolicRoundtripWithFallbackShort

function symbolicRoundtripWithFallbackShort() external;

testRevertLong

function testRevertLong(string memory input) external;

testLengthShort

function testLengthShort(string memory input) external pure;

symbolicLengthShort

function symbolicLengthShort() external pure;

testLengthWithFallback

function testLengthWithFallback(string memory input, string memory fallbackInitial) external;

symbolicLengthWithFallback

function symbolicLengthWithFallback() external;

_assertRoundtripShort

Assertions

function _assertRoundtripShort(string memory input) internal pure;

_assertRoundtripWithFallback

function _assertRoundtripWithFallback(string memory input, string memory fallbackInitial) internal;

_assertRevertLong

function _assertRevertLong(string memory input) internal;

_assertLengthShort

function _assertLengthShort(string memory input) internal pure;

_assertLengthWithFallback

function _assertLengthWithFallback(string memory input) internal;

toShortString

Helpers

function toShortString(string memory input) external pure returns (ShortString);

_isShort

function _isShort(string memory input) internal pure returns (bool);