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

!7

sS data = [[

  -- rule
  
  {sad ugo} says: <anything>
  => ugo is sad today [temporary fact]
  [split "sad ugo"]

  -- test input
  
  [happy johnny] bla bla

  -- expected temporary facts
  
  johnny is happy today
  
]];

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

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: 379 / 1270
Version history: 6 change(s)
Referenced in: [show references]