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.

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

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: 125 / 194
Version history: 3 change(s)
Referenced in: [show references]