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

5
LINES

< > BotCompany Repo | #1035836 // test_hashBinaryImage_hashBufferedImage_compatiblility (OK)

JavaX fragment (include)

1  
svoid test_hashBinaryImage_hashBufferedImage_compatiblility(int size default 10) {
2  
  var img = randomImage2B(size);
3  
  assertEqualsVerbose(hashBufferedImage(toBufferedImage(img)),
4  
    hashBinaryImage(img));
5  
}

Author comment

Began life as a copy of #1034817

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1035836
Snippet name: test_hashBinaryImage_hashBufferedImage_compatiblility (OK)
Eternal ID of this version: #1035836/2
Text MD5: 793160425093b82598191fd11490bb6c
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-08-02 19:20:41
Source code size: 211 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 172 / 169
Version history: 1 change(s)
Referenced in: [show references]