Libraryless. Click here for Pure Java version (1866L/12K).
1 | svoid test_regexp_integer_minDigits() { |
2 | testFunctionValues_twoArgs(func(int minDigits, S s) { |
3 | regexpMatches(regexp_integer_minDigits(minDigits), s) |
4 | }, |
5 | pair(3, "abc"), false, |
6 | pair(3, ""), false, |
7 | pair(3, "1"), false, |
8 | pair(3, "12"), false, |
9 | pair(3, "123"), true, |
10 | pair(3, "1234"), true, |
11 | pair(2, "43"), true, |
12 | pair(2, "435"), true); |
13 | } |
Began life as a copy of #1023984
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: | #1023991 |
Snippet name: | test_regexp_integer_minDigits (OK) |
Eternal ID of this version: | #1023991/2 |
Text MD5: | fbf246fa0bfb0b3266734af6fb57e6e2 |
Transpilation MD5: | f3b71fb92f40d0c327d89010b7d16297 |
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:44:02 |
Source code size: | 379 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 209 / 323 |
Version history: | 1 change(s) |
Referenced in: | [show references] |