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

10
LINES

< > BotCompany Repo | #1001055 - assertEquals - not using structure() for making the message anymore [saving code]

JavaX fragment (include)

static <A> A assertEquals(O x, A y) {
  ret assertEquals(null, x, y);
}

static <A> A assertEquals(S msg, O x, A y) {
  if (assertVerbose()) ret assertEqualsVerbose(msg, x, y);
  if (!(x == null ? y == null : x.equals(y)))
    fail((msg != null ? msg + ": " : "") + y + " != " + x);
  ret y;
}

download  show line numbers  debug dex   

Travelled to 13 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, ppjhyzlbdabe, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1001055
Snippet name: assertEquals - not using structure() for making the message anymore [saving code]
Eternal ID of this version: #1001055/3
Text MD5: 22dc007cb1331c5229a42f7927806a5d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-25 14:36:56
Source code size: 302 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 451 / 4246
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1001055 & http://1001055.tinybrain.de