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

26
LINES

< > BotCompany Repo | #1021758 // John Doe Test Case [OK]

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

Download Jar. Libraryless. Click here for Pure Java version (17591L/101K).

!7

sS data = [[

  -- rule 1
  
  who is x y        [input]
  + x y is a trader [statement]
  => a trader

  -- test input
  
  john doe is a guy
  who is john doe?
  
  -- expected output
  
  a guy
  
]];

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

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1021758
Snippet name: John Doe Test Case [OK]
Eternal ID of this version: #1021758/32
Text MD5: ce76209703df4a90f44588621d8aec8e
Transpilation MD5: 6c67b25f46b809449b1af195a4ea0d0c
Author: stefan
Category: javax / gazelle
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-26 10:38:24
Source code size: 322 bytes / 26 lines
Pitched / IR pitched: No / No
Views / Downloads: 287 / 961
Version history: 31 change(s)
Referenced in: [show references]