1 | svoid test_HashedByteArray() { |
2 | HashedByteArray a = new(toUtf8("hello")); |
3 | HashedByteArray b = new(toUtf8("hello")); |
4 | HashedByteArray c = new(toUtf8("bello")); |
5 | |
6 | assertEqualsVerbose(a, b); |
7 | assertEqualsVerbose(a, b); |
8 | assertEqualsVerbose(a.hashCode(), b.hashCode()); |
9 | assertFalse(a.equals(c)); |
10 | } |
Began life as a copy of #1024844
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1024845 |
Snippet name: | test_HashedByteArray |
Eternal ID of this version: | #1024845/2 |
Text MD5: | 70d6d4665c94a41cb4cc9305ec67970f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-08-26 21:57:32 |
Source code size: | 313 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 202 / 255 |
Version history: | 1 change(s) |
Referenced in: | [show references] |