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

23
LINES

< > BotCompany Repo | #1022138 // Gazelle Test: Simplify Rule [OK]

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

Download Jar. Libraryless. Click here for Pure Java version (18670L/109K).

1  
!7
2  
3  
sS data = [[
4  
5  
  -- rule
6  
  
7  
  simplify with reversed
8  
  
9  
  -- test input
10  
  
11  
  hello
12  
  
13  
  -- expected output
14  
  
15  
  olleh
16  
17  
]];
18  
19  
!include once #1021761 // Gazelle Fakery
20  
 
21  
p-exp {
22  
  gazelle_fakery_performTest(data);
23  
}

Author comment

Began life as a copy of #1022068

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1022138
Snippet name: Gazelle Test: Simplify Rule [OK]
Eternal ID of this version: #1022138/3
Text MD5: 847a9e164d5061bf020d644349195968
Transpilation MD5: 10ba981fbade6f05c2b18c17d0a2168f
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-08 14:12:18
Source code size: 237 bytes / 23 lines
Pitched / IR pitched: No / No
Views / Downloads: 324 / 870
Version history: 2 change(s)
Referenced in: [show references]