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).

!7

sS data = [[

  -- rule
  
  hello bla
  => yo
  [only var is "bla"]
  
    -- test input 1
  
  what bla

  -- expected output 1
  
  -- test input 2
  
  hello what

  -- expected output 2
  
  yo
  
]];

!include once #1021761 // Gazelle Fakery
 
p-exp {
  gazelle_fakery_performTest(data);
}

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: 390 / 1016
Version history: 2 change(s)
Referenced in: #1022415 - Gazelle Test 15: continue with rule [OK, but a bit rough]