Libraryless. Click here for Pure Java version (2508L/16K).
static <A> A assertEqualsOneOfVerbose(A x, A... l) { fOr (A y : l) if (eq(x, y)) ret x with print("OK: " + x); fail(x + " not found in " + asList(l)); }
Began life as a copy of #1002936
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027813 |
Snippet name: | assertEqualsOneOfVerbose |
Eternal ID of this version: | #1027813/1 |
Text MD5: | 6e0f7bb898fd3be8a749045405f90dcf |
Transpilation MD5: | 1532e2878f0767c3f3dbb086657ca7d9 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-04-13 17:57:12 |
Source code size: | 171 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 193 / 275 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1036504 - assertEqualsOneOf |