1 | static void assertTripleEqicVerbose(T3<S> x, T3<S> y) { |
2 | assertEqualsVerbose((S) null, x, y); |
3 | } |
4 | |
5 | static void assertTripleEqicVerbose(S msg, T3<S> x, T3<S> y) { |
6 | if (!tripleEqic(x, y)) |
7 | fail((msg != null ? msg + ": " : "") + ai_renderTriple(y) + " != " + ai_renderTriple(x)); |
8 | else |
9 | print("OK: " + ai_renderTriple(x)); |
10 | } |
11 | |
12 | ifclass Scorer |
13 | static void assertTripleEqicVerbose(Scorer scorer, T3<S> x, T3<S> y) { |
14 | if (!tripleEqic(x, y)) { |
15 | printIndent(ai_renderTriple(x) + " << wanted"); |
16 | printIndent(ai_renderTriple(y) + " << have"); |
17 | scorer.add(false); |
18 | } else { |
19 | print("OK: " + ai_renderTriple(x)); |
20 | scorer.add(true); |
21 | } |
22 | } |
23 | endif |
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: | #1012221 |
Snippet name: | assertTripleEqicVerbose |
Eternal ID of this version: | #1012221/6 |
Text MD5: | 7c8d463e37696038189eb0d3662459a5 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-24 11:52:53 |
Source code size: | 674 bytes / 23 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 473 / 494 |
Version history: | 5 change(s) |
Referenced in: | [show references] |