1 | static void guarantee(O o) { |
2 | assertTrue(o); |
3 | } |
4 | |
5 | |
6 | |
7 | static bool guarantee(S msg, bool b) { |
8 | ret assertTrue(msg, b); |
9 | } |
10 | |
11 | |
12 | |
13 | static bool guarantee(bool b) { |
14 | ret assertTrue(b); |
15 | } |
16 | |
17 | |
18 | |
19 | sbool guarantee(Scorer scorer, bool b) { |
20 | ret assertTrue(scorer, b); |
21 | } |
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1036404 |
Snippet name: | guarantee - synonym of assertTrue |
Eternal ID of this version: | #1036404/1 |
Text MD5: | 7f3e49925555e7ba4bde220d5f082e0b |
Author: | someone |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-12-10 03:18:07 |
Source code size: | 258 bytes / 21 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 118 / 129 |
Referenced in: | [show references] |