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

25
LINES

< > BotCompany Repo | #1021807 // Test Case With User [OK]

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

Download Jar. Libraryless. Click here for Pure Java version (17763L/103K).

1  
!7
2  
3  
sS data = [[
4  
5  
  -- rule
6  
  
7  
  {sad ugo} says: <anything>
8  
  => ugo is sad today [temporary fact]
9  
  [split "sad ugo"]
10  
11  
  -- test input
12  
  
13  
  [happy johnny] bla bla
14  
15  
  -- expected temporary facts
16  
  
17  
  johnny is happy today
18  
  
19  
]];
20  
21  
!include once #1021761 // Gazelle Fakery
22  
 
23  
p-exp {
24  
  gazelle_fakery_performTest(data);
25  
}

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: #1021807
Snippet name: Test Case With User [OK]
Eternal ID of this version: #1021807/7
Text MD5: 978ca0f1a7b0f06c44a64c49e69c3bf2
Transpilation MD5: 0a16071354dfb037d1da6c59b49f3f09
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-28 10:17:30
Source code size: 342 bytes / 25 lines
Pitched / IR pitched: No / No
Views / Downloads: 264 / 946
Version history: 6 change(s)
Referenced in: [show references]