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

Qiskit / retworkx / 609
97%

Build:
DEFAULT BRANCH: master
Ran 14 Jul 2020 05:39PM UTC
Jobs 1
Files 5
Run time 14min
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

14 Jul 2020 05:36PM UTC coverage: 88.767% (+0.5%) from 88.235%
609

push

travis-ci-com

web-flow
Add *_gnp_random_graph functions (#94)

* Add *_gnp_random_graph functions

This commit adds 2 new functions directed_gnp_random_graph and
undirected_gnp_random_graph. These 2 functions are used for generating
a random Erdős-Rényi/binomial graph. The implementation of these 2
functions is based on the networkx function fast_gnp_random_graph. [1]

[1] https://github.com/networkx/networkx/blob/networkx-2.4/networkx/generators/random_graphs.py#L49

* Add missing test module

* Switch IndexError to ValueError

* Add seed kwarg to tests

* Run log on same line as float creation

* Apply suggestions from code review

Co-authored-by: Julien Gacon <gaconju@gmail.com>

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

1375 of 1549 relevant lines covered (88.77%)

1211.71 hits per line

Jobs
ID Job ID Ran Files Coverage
3 609.3 14 Jul 2020 05:39PM UTC 0
88.77
Travis Job 609.3
Source Files on build 609
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #609
  • 9c4085fc on github
  • Prev Build on master (#601)
  • Next Build on master (#623)
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

© 2026 Coveralls, Inc