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

10
LINES

< > BotCompany Repo | #1010928 // Test ai_dropLeadingAdditions [OK]

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

Download Jar. Libraryless. Click here for Pure Java version (1079L/8K).

!7

p {
  assertEquals("i love you", ai_dropLeadingAdditions("also, i love you"));
  assertEquals("you're weird", ai_dropLeadingAdditions("ALSO: you're weird"));
  assertEquals("hello", ai_dropLeadingAdditions("hello"));
  assertEquals("I like bacon", ai_dropLeadingAdditions("Also I like bacon"));
  assertEquals("What is the time", ai_dropLeadingAdditions("Tell me... What is the time"));
  print("OK");
}

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: #1010928
Snippet name: Test ai_dropLeadingAdditions [OK]
Eternal ID of this version: #1010928/4
Text MD5: b0b1062c7cdf7839c838559d1b1e0c05
Transpilation MD5: db4ed8c8b961921ee8e7aca3433617bb
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-10-08 23:13:53
Source code size: 416 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 384 / 835
Version history: 3 change(s)
Referenced in: [show references]