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)

1  
svoid test_Image2BAsLongs() {
2  
  repeat 1000 {
3  
    int w = random_incl(1, 32);
4  
    int h = random_incl(1, 32);
5  
    Image2B image = randomBinaryImage(w, h);
6  
    Image2BAsLongs image2 = new(image);
7  
    assertSameImage(image, image2);
8  
  }
9  
}

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: 132 / 140
Referenced in: [show references]