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

4
LINES

< > BotCompany Repo | #1022654 // test_ai_findSpreadOutWords

JavaX fragment (include)

1  
svoid test_ai_findSpreadOutWords() {
2  
  assertEqualsVerbose(ll(1, 5), ai_findSpreadOutWords(javaTok("Hello nice world"), "hello", "world"));
3  
  assertNullVerbose(ai_findSpreadOutWords(javaTok("a b c"), "d"));
4  
}

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: #1022654
Snippet name: test_ai_findSpreadOutWords
Eternal ID of this version: #1022654/1
Text MD5: 16b2cf12edd8818d2497cac50c4412ef
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-27 14:09:56
Source code size: 211 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 291 / 325
Referenced in: [show references]