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

keon / algorithms / 245 / 1
76%
master: 76%

Build:
DEFAULT BRANCH: master
Ran 03 May 2018 04:27PM UTC
Files 114
Run time 5s
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

03 May 2018 04:25PM UTC coverage: 91.218% (+0.07%) from 91.151%
245.1

push

travis-ci

danghai
Update priority_queue.py (#273)

* Update priority_queue.py

- refactor `insert` and `delete` -> `push` and `pop`. Because `pop` seems more natural while returning the deleted item (rather than `delete`)
- `push` now takes data and priority(optional), and constructs a `PriorityQueueNode` inside the method for inserting. This simplifies the usage.
- used `collections.deque()` for O(1) popleft operation.
- add `__repr__` method.

* Add unittest for PriorityQueue

2742 of 3006 relevant lines covered (91.22%)

0.91 hits per line

Source Files on job 245.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 37
  • Travis Job 245.1
  • 4741df44 on github
  • Prev Job for on master (#240.1)
  • Next Job for on master (#248.1)
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