Libraryless. Click here for Pure Java version (5542L/36K).
1 | svoid test_isValidInternationalPhoneNumber() { |
2 | testFunctionValues isValidInternationalPhoneNumber( |
3 | "+4917624124610", true, |
4 | "abcd", false, |
5 | "", false, |
6 | "+", false, |
7 | "+1-503-12345", true, |
8 | "+211-12345", false, // invalid country code |
9 | ); |
10 | } |
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: | #1029751 |
Snippet name: | test_isValidInternationalPhoneNumber (OK) |
Eternal ID of this version: | #1029751/2 |
Text MD5: | 7c6c4d983d6ddc9e1e29424da85de91c |
Transpilation MD5: | 0372154997054feef290bbf7845c1c39 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-09-11 15:20:49 |
Source code size: | 269 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 175 / 257 |
Version history: | 1 change(s) |
Referenced in: | [show references] |