1 | static void assertFalse(O o) {
|
2 | if (!(eq(o, false) /*|| isFalse(pcallF(o))*/)) |
3 | fail(str(o)); |
4 | } |
5 | |
6 | static bool assertFalse(boolean b) {
|
7 | if (b) fail("oops");
|
8 | ret b; |
9 | } |
10 | |
11 | static bool assertFalse(S msg, bool b) {
|
12 | if (b) fail(msg); |
13 | ret b; |
14 | } |
Began life as a copy of #1001598
download show line numbers debug dex old transpilations
Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, lulzaavyztxj, mqqgnosmbjvj, onxytkatvevr, podlckwnjdmb, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1001967 |
| Snippet name: | assertFalse |
| Eternal ID of this version: | #1001967/5 |
| Text MD5: | c18369c446fdf27b542a1cb41ba59b1d |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-12-03 13:45:18 |
| Source code size: | 261 bytes / 14 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1179 / 1663 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |