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

6
LINES

< > BotCompany Repo | #1029027 // test_deepDoubleWordIndex_lookupString (OK)

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4532L/27K).

svoid test_deepDoubleWordIndex_lookupString() {
  new DoubleWordIndex<WithIntArray<S>> index;
  deepDoubleWordIndex_add(index, "a", "hello world");
  assertEqualsVerbose(ll("a"), asList(deepDoubleWordIndex_lookupString(index, "hello")));
  assertEqualsVerbose(ll("a"), asList(deepDoubleWordIndex_lookupString(index, "hello world", debug := true)));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1029027
Snippet name: test_deepDoubleWordIndex_lookupString (OK)
Eternal ID of this version: #1029027/3
Text MD5: 151a04cbd1eab7f38d46ad0eed97069a
Transpilation MD5: 216ab13acbb475991498ed8dd01c562f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-17 01:08:19
Source code size: 355 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 181 / 254
Version history: 2 change(s)
Referenced in: [show references]