diff --git a/tests/property_based.nim b/tests/property_based.nim index 7d091b0..a903afc 100644 --- a/tests/property_based.nim +++ b/tests/property_based.nim @@ -14,9 +14,13 @@ const itercount = 1000 suite "Property-based testing (testing with random inputs) - uint64 on 64-bit / uint32 on 32-bit": when defined(release): - echo "Testing in release mode with " & $itercount & " random tests for each proc. (StUint[64] = uint64)" + echo "Testing in release mode with " & $itercount & " random tests for each proc." else: echo "Testing in debug mode " & $itercount & " random tests for each proc. (StUint[64] = 2x uint32)" + when defined(mpint_test): + echo "(StUint[64] = 2x uint32)" + else: + echo "(StUint[64] = uint64)" let hi = 1'u shl (sizeof(uint)*7) diff --git a/tests/property_based_uint256.nim b/tests/property_based_uint256.nim index 3a3c61a..72b0c8f 100644 --- a/tests/property_based_uint256.nim +++ b/tests/property_based_uint256.nim @@ -12,14 +12,18 @@ # Note that currently importing both Stint and TTMath will crash the compiler for unknown reason import ../src/stint, unittest, quicktest, ttmath_compat -const itercount = 10000 +const itercount = 10_000_000_000 suite "Property-based testing (testing with random inputs) of Uint256": when defined(release): - echo "Testing in release mode with " & $itercount & " random tests for each proc. (StUint[64] = uint64)" + echo "Testing in release mode with " & $itercount & " random tests for each proc." else: echo "Testing in debug mode " & $itercount & " random tests for each proc. (StUint[64] = 2x uint32)" + when defined(mpint_test): + echo "(StUint[64] = 2x uint32)" + else: + echo "(StUint[64] = uint64)" let hi = 1'u shl (sizeof(uint)*7)