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

8
LINES

< > BotCompany Repo | #1034770 // test_concatMethodArgs (OK)

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

Transpiled version (5375L) is out of date.

svoid test_concatMethodArgs() {
  assertNull(concatMethodArgs(null, null));
  O[] a = new O[0];
  assertSame(a, concatMethodArgs(a, a));
  assertNull(concatMethodArgs(a, null));
  assertSame(a, concatMethodArgs(null, a));
  assertEquals(ll(1, 2), asList(concatMethodArgs(new O[] {1}, new O[] {2})));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1034770
Snippet name: test_concatMethodArgs (OK)
Eternal ID of this version: #1034770/4
Text MD5: f37d078d1dad1a0c89726c330f3719ac
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-08 07:06:28
Source code size: 308 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 54 / 93
Version history: 3 change(s)
Referenced in: [show references]