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

26
LINES

< > BotCompany Repo | #1021771 // Multiple Input Lines Test Case [dev.]

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

Download Jar. Libraryless. Click here for Pure Java version (17677L/102K).

!7

sS data = [[

  -- rule 1
  
  !eval countSheep() [input]
  + 55               [input]
  => there are 55 sheep

  -- test input
  
  !eval countSheep()
  77

  -- expected output
  
  there are 77 sheep
  
]];

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

Author comment

Began life as a copy of #1021758

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: #1021771
Snippet name: Multiple Input Lines Test Case [dev.]
Eternal ID of this version: #1021771/3
Text MD5: c779c20c5fbff7c4249fa5d8095f6314
Transpilation MD5: feaa03e8e70bae637c81825c62052e89
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 12:59:15
Source code size: 328 bytes / 26 lines
Pitched / IR pitched: No / No
Views / Downloads: 216 / 787
Version history: 2 change(s)
Referenced in: [show references]