Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1029751 // test_isValidInternationalPhoneNumber (OK)

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (5542L/36K).

svoid test_isValidInternationalPhoneNumber() {
  testFunctionValues isValidInternationalPhoneNumber(
    "+4917624124610", true,
    "abcd", false,
    "", false,
    "+", false,
    "+1-503-12345", true,
    "+211-12345", false, // invalid country code
  );
}

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: 176 / 258
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)