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

9
LINES

< > BotCompany Repo | #1036045 // test_Image2BAsLongs (OK)

JavaX fragment (include)

svoid test_Image2BAsLongs() {
  repeat 1000 {
    int w = random_incl(1, 32);
    int h = random_incl(1, 32);
    Image2B image = randomBinaryImage(w, h);
    Image2BAsLongs image2 = new(image);
    assertSameImage(image, image2);
  }
}

Author comment

Began life as a copy of #1036037

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1036045
Snippet name: test_Image2BAsLongs (OK)
Eternal ID of this version: #1036045/1
Text MD5: 27bba2121b4e6e94501a3756599d85dc
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-09-03 01:31:04
Source code size: 244 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 133 / 140
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)