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

11
LINES

< > BotCompany Repo | #1012224 // assertTripleEqicVerbose_multi

JavaX fragment (include)

static void assertTripleEqicVerbose_multi(Scorer scorer, L<T3<S>> x, T3<S> y) {
  if (!tripleEqicOneOf(y, x)) {
    for i over x:
      printIndent(ai_renderTriple(x.get(i)) + " << wanted" + (l(x) == 1 ? "" : " #" + (i+1)));
    printIndent(ai_renderTriple(y) + " << have");
    scorer.add(false);
  } else {
    print("OK: " + ai_renderTriple(y));
    scorer.add(true);
  }
}

Author comment

Began life as a copy of #1012221

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: #1012224
Snippet name: assertTripleEqicVerbose_multi
Eternal ID of this version: #1012224/3
Text MD5: 84200d8e5231b6505394611fe34826ae
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-24 12:17:09
Source code size: 386 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 364 / 407
Version history: 2 change(s)
Referenced in: [show references]