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

10
LINES

< > BotCompany Repo | #1007568 // Test match4

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (976L/7K/24K).

1  
!7
2  
3  
p {
4  
  match4_debug = true;
5  
  assertTrue(match4("is <int> an int", "is 123 an int"));
6  
  assertFalse(match4("is <int> a bla", "is 123 an int"));
7  
  assertFalse(match4("is <int> an int", "is xxx an int"));
8  
  assertTrue(match4("is <int> an int?", "Is 12345 an int"));
9  
  print("OK");
10  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1007568
Snippet name: Test match4
Eternal ID of this version: #1007568/2
Text MD5: 0bbe52a6a8f6d864c8801ef2d09d9405
Transpilation MD5: 926fae66dea31db73c989ae646939732
Author: stefan
Category: javax / parsing
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-27 01:41:27
Source code size: 292 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 519 / 593
Version history: 1 change(s)
Referenced in: [show references]