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

10
LINES

< > BotCompany Repo | #1024839 // test_eq

JavaX fragment (include)

svoid test_eq() {
  testFunctionValues_twoArgs eq(
    pair(null, null), true,
    pair(null, 1), false,
    pair(1, null), false,
    pair(1, 1), true,
    pair(new S("hello"), new S("hello")), true,
    pair("hello", "bello"), false
  );
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024839
Snippet name: test_eq
Eternal ID of this version: #1024839/1
Text MD5: 05840b0f19de48b04d59a278ed076be5
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-26 19:41:45
Source code size: 250 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 187 / 238
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)