Libraryless. Click here for Pure Java version (5289L/29K).
1 | svoid test_scrambleAndUnscrambleInt() {
|
2 | repeat 1000000 {
|
3 | int x = randomInt(); |
4 | assertEquals(x, unscrambleInt(scrambleInt(x)); |
5 | } |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1034918 |
| Snippet name: | test_scrambleAndUnscrambleInt (OK) |
| Eternal ID of this version: | #1034918/3 |
| Text MD5: | 1020fb19c422efc08f0789f47cf3f9f6 |
| Transpilation MD5: | dd01b3428f5ba19214c5df7b5c86abad |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-03-15 13:39:13 |
| Source code size: | 145 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 342 / 444 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |