Download Jar. Libraryless. Click here for Pure Java version (17677L/102K).
1 | !7 |
2 | |
3 | sS data = [[ |
4 | |
5 | -- rule 1 |
6 | |
7 | !eval countSheep() [input] |
8 | + 55 [input] |
9 | => there are 55 sheep |
10 | |
11 | -- test input |
12 | |
13 | !eval countSheep() |
14 | 77 |
15 | |
16 | -- expected output |
17 | |
18 | there are 77 sheep |
19 | |
20 | ]]; |
21 | |
22 | !include once #1021761 // Gazelle Fakery |
23 | |
24 | p-exp { |
25 | gazelle_fakery_performTest(data); |
26 | } |
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: | 370 / 1183 |
Version history: | 2 change(s) |
Referenced in: | [show references] |