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

7
LINES

< > BotCompany Repo | #1031312 // assertEqualsVerboseUnder - apply transformation before comparing

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

Libraryless. Click here for Pure Java version (2759L/16K).

static <A, B> A assertEqualsVerboseUnder(S msg default null, IF1<A, B> f, A a, A b) {
  if (f == null)
    assertEqualsVerbose(msg, a, b);
  else
    assertEqualsVerbose(msg, f.get(a), f.get(b));
  ret b;
}

Author comment

Began life as a copy of #1002936

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031312
Snippet name: assertEqualsVerboseUnder - apply transformation before comparing
Eternal ID of this version: #1031312/4
Text MD5: 2eef05dad009ef32a0e849512bdc493e
Transpilation MD5: 6308332ec308acb1d442f77c86eab78b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-04 21:49:01
Source code size: 212 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 206 / 274
Version history: 3 change(s)
Referenced in: [show references]