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

26
LINES

< > BotCompany Repo | #1021997 // Finding the best answer Test Case [OK]

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

Download Jar. Libraryless. Click here for Pure Java version (18518L/108K).

1  
!7
2  
3  
sS data = [[
4  
5  
  -- rule
6  
  
7  
  what is google
8  
  + google is a company [statement]
9  
  => a company, my friend
10  
11  
  -- test input
12  
  
13  
  john is a guy
14  
  google is a company
15  
  what is google
16  
17  
  -- expected output
18  
  
19  
  a company, my friend
20  
]];
21  
22  
!include once #1021761 // Gazelle Fakery
23  
 
24  
p-exp {
25  
  gazelle_fakery_performTest(data, matchStatementsDebug := true);
26  
}

Author comment

Began life as a copy of #1021799

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: #1021997
Snippet name: Finding the best answer Test Case [OK]
Eternal ID of this version: #1021997/5
Text MD5: 5a49baf161c86b66688afabc35ac0b31
Transpilation MD5: 7ee7776064c69288f33523ac142d03f9
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-05 09:38:43
Source code size: 381 bytes / 26 lines
Pitched / IR pitched: No / No
Views / Downloads: 381 / 1058
Version history: 4 change(s)
Referenced in: [show references]