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

5
LINES

< > BotCompany Repo | #1009080 // testResults_okOfTotal

JavaX fragment (include)

static Pair<Int> testResults_okOfTotal() {
  L<TestResult> l = getTestResults();
  int numOK = countWhere(l, okPercentage := 100.0);
  ret pair(numOK, l(l));
}

Author comment

Began life as a copy of #1008975

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: #1009080
Snippet name: testResults_okOfTotal
Eternal ID of this version: #1009080/1
Text MD5: eec860cc0cc294e57be375fb3033d62f
Author: stefan
Category: javax / testing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-07-01 19:27:19
Source code size: 163 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 489 / 519
Referenced in: [show references]