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 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, ppjhyzlbdabe, pyentgdyhuwx, pzhvpgtvlbxg, 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: | 538 / 4378 |
Version history: | 2 change(s) |
Referenced in: | [show references] |
Formerly at http://tinybrain.de/1001055 & http://1001055.tinybrain.de