Libraryless. Click here for Pure Java version (1866L/12K).
svoid test_regexp_integer_maxDigits() { testFunctionValues_twoArgs(func(int maxDigits, S s) { regexpMatches(regexp_integer_maxDigits(maxDigits), s) }, pair(3, "abc"), false, pair(3, ""), false, pair(3, "1"), true, pair(3, "12"), true, pair(3, "123"), true, pair(3, "1234"), false, pair(2, "43"), true, pair(2, "435"), false); }
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1023984 |
Snippet name: | test_regexp_integer_maxDigits |
Eternal ID of this version: | #1023984/5 |
Text MD5: | 7916f4e0eb2887646a5f6b73f250de48 |
Transpilation MD5: | cfafbbcdfc6a3130ea359bec0f7c7088 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-14 21:03:47 |
Source code size: | 379 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 183 / 282 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1023991 - test_regexp_integer_minDigits (OK) |