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

9
LINES

< > BotCompany Repo | #1032660 // assertNotEquals

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

Libraryless. Click here for Pure Java version (3800L/22K).

svoid assertNotEquals(S msg, O a, O b) {
  if (eq(a, b))
    fail(msg);
}

svoid assertNotEquals(O a, O b) {
  if (eq(a, b))
    fail(str(a));
}

Author comment

Began life as a copy of #1010618

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032660
Snippet name: assertNotEquals
Eternal ID of this version: #1032660/1
Text MD5: 3cf448151fccf7f2dc60d39e5da5dae5
Transpilation MD5: bae7b71ac967cd73b1c692abc79b83a6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-30 05:52:42
Source code size: 152 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 135 / 198
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)