Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1008975 // printTestResults

JavaX fragment (include)

static void printTestResults() {
  L<TestResult> l = getTestResults();
  int numOK = countWhere(l, okPercentage := 100.0);
  printAsciiHeading("Test results (" + numOK + " OK of " + l(l) + ")");
  printLines(l);
  print();
}

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: #1008975
Snippet name: printTestResults
Eternal ID of this version: #1008975/3
Text MD5: fb0fd18027783b79a7f0800733122a18
Author: stefan
Category: javax / testing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-06-21 18:15:06
Source code size: 230 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 501 / 533
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1009080 - testResults_okOfTotal