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

8
LINES

< > BotCompany Repo | #1022273 // test_phraseCache_group

JavaX fragment (include)

svoid test_phraseCache_group() {
  assertEqualsVerbose("{the guy} met {another guy} somewhere",
    join(phraseCache_group(makePhraseCache("the guy", "another guy"),
      javaTokWithNPunctuation("the guy met another guy somewhere"))));
  assertEqualsVerbose("{my friend} - {very NICE}",
    join(phraseCache_group(makePhraseCache("my friend", "very nice"),
      javaTokWithNPunctuation("my friend - very NICE"))));
}

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: #1022273
Snippet name: test_phraseCache_group
Eternal ID of this version: #1022273/3
Text MD5: 971370f0632af9379ccf020348a32687
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-12 13:49:50
Source code size: 425 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 241 / 263
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1022311 - test_fullPhraseCache_group