1 | static void assertSameVerbose(O x, O y) { |
2 | assertSameVerbose((S) null, x, y); |
3 | } |
4 | |
5 | static void assertSameVerbose(S msg, O x, O y) { |
6 | if (x != y) |
7 | fail((msg != null ? msg + ": " : "") + str_shorten(y) + " !== " + str_shorten(x)); |
8 | else |
9 | print("OK: " + str_shorten(x)); |
10 | } |
Began life as a copy of #1002936
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1013635 |
Snippet name: | assertSameVerbose |
Eternal ID of this version: | #1013635/4 |
Text MD5: | 5093b5a56b81f04bbeb1dac0bd5b42e6 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-02-24 18:08:35 |
Source code size: | 285 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 420 / 476 |
Version history: | 3 change(s) |
Referenced in: | [show references] |