• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

skratchdot / random-picker / 9
100%

Build:
DEFAULT BRANCH: master
Ran 08 Oct 2017 10:14PM UTC
Jobs 7
Files 1
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
9

Pull #4

travis-ci

web-flow
Allow zero probability

This allows for:

```js
picker.option('name', 0)
```

Might also want to look into the logic here:

```js
if (!Number.isFinite(num) || num < 0) {
  num = 0;
}
```

If a number is infinity, one would not want the probability to be zero.

Fixes issue #3
Pull Request #4: Allow zero probability

20 of 20 branches covered (100.0%)

2 of 2 new or added lines in 1 file covered. (100.0%)

57 of 57 relevant lines covered (100.0%)

4864.16 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9.1 08 Oct 2017 10:14PM UTC 0
100.0
Travis Job 9.1
2 9.2 08 Oct 2017 10:14PM UTC 0
100.0
Travis Job 9.2
3 9.3 08 Oct 2017 10:14PM UTC 0
100.0
Travis Job 9.3
4 9.4 08 Oct 2017 10:15PM UTC 0
100.0
Travis Job 9.4
5 9.5 08 Oct 2017 10:15PM UTC 0
100.0
Travis Job 9.5
6 9.6 08 Oct 2017 10:16PM UTC 0
100.0
Travis Job 9.6
7 9.7 08 Oct 2017 10:17PM UTC 0
100.0
Travis Job 9.7
Source Files on build 9
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #9
  • Pull Request #4
  • PR Base - master (#2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc