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

10
LINES

< > BotCompany Repo | #1012088 // Generate some test cases

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

Download Jar. Libraryless. Click here for Pure Java version (16267L/116K).

!7

static L<S> indices = splitAtSpace("first second third fourth fifth");

p {
  ai_quickTestMode();
  S s = randomLetters(l(indices));
  for i over s:
    ai_postTriple("The " + indices.get(i) + " character in " + quote(s), "is", quote(s.charAt(i)));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1012088
Snippet name: Generate some test cases
Eternal ID of this version: #1012088/9
Text MD5: 7e0f0cae656349d562b71320227c0d72
Transpilation MD5: 5c8046de5505a984931055675edd4d2b
Author: stefan
Category: javax / a.i.
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-18 13:51:27
Source code size: 263 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 327 / 805
Version history: 8 change(s)
Referenced in: [show references]