diff --git a/test/unit/sd59x18/SD59x18.t.sol b/test/unit/sd59x18/SD59x18.t.sol index 86fa928..c0ff3d4 100644 --- a/test/unit/sd59x18/SD59x18.t.sol +++ b/test/unit/sd59x18/SD59x18.t.sol @@ -64,7 +64,7 @@ abstract contract SD59x18_Unit_Test is Base_Test { CONSTANT HELPER FUNCTIONS //////////////////////////////////////////////////////////////////////////*/ - function logSd(SD59x18 p0) internal view { + function logSd(SD59x18 p0) internal pure { console2.logInt(p0.unwrap()); } diff --git a/test/unit/ud60x18/UD60x18.t.sol b/test/unit/ud60x18/UD60x18.t.sol index 165cd74..398bd78 100644 --- a/test/unit/ud60x18/UD60x18.t.sol +++ b/test/unit/ud60x18/UD60x18.t.sol @@ -58,11 +58,11 @@ abstract contract UD60x18_Unit_Test is Base_Test { CONSTANT HELPER FUNCTIONS //////////////////////////////////////////////////////////////////////////*/ - function log(string memory p0, UD60x18 p1) internal view { + function log(string memory p0, UD60x18 p1) internal pure { console2.log(p0, p1.unwrap()); } - function logUd(UD60x18 p0) internal view { + function logUd(UD60x18 p0) internal pure { console2.logUint(p0.unwrap()); }