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

31
LINES

< > BotCompany Repo | #1022410 // Gazelle Test 14: only var is X [OK]

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

Download Jar. Libraryless. Click here for Pure Java version (20057L/118K).

1  
!7
2  
3  
sS data = [[
4  
5  
  -- rule
6  
  
7  
  hello bla
8  
  => yo
9  
  [only var is "bla"]
10  
  
11  
    -- test input 1
12  
  
13  
  what bla
14  
15  
  -- expected output 1
16  
  
17  
  -- test input 2
18  
  
19  
  hello what
20  
21  
  -- expected output 2
22  
  
23  
  yo
24  
  
25  
]];
26  
27  
!include once #1021761 // Gazelle Fakery
28  
 
29  
p-exp {
30  
  gazelle_fakery_performTest(data);
31  
}

Author comment

Began life as a copy of #1022408

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1022410
Snippet name: Gazelle Test 14: only var is X [OK]
Eternal ID of this version: #1022410/3
Text MD5: 50753976601fd6dd3f69d50bda542090
Transpilation MD5: fa31754405929a323fe8c08cf4aba9dd
Author: stefan
Category: javax / gazelle
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-16 22:29:52
Source code size: 329 bytes / 31 lines
Pitched / IR pitched: No / No
Views / Downloads: 242 / 679
Version history: 2 change(s)
Referenced in: [show references]