Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug in print_tree() #10

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

Beakerboy
Copy link
Contributor

@Beakerboy Beakerboy commented Nov 21, 2023

  • Added a __str__() to RedBlackTree to aid testing.
  • Added testing of Node.__repr__()

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (1c2672e) 100.00% compared to head (e0ffc33) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #10   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines          317       326    +9     
=========================================
+ Hits           317       326    +9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Beakerboy and others added 2 commits November 23, 2023 07:58
* Update email

* Update status badge

* Update requirements_dev.txt

* Update test_node.py

* Update python-package.yml

* Oops

* Update README.md

* Update test_rbtree.py

* Create iterators (#15)

* Update README.md

* Rename item to key and make private (#17)

* Update rbtree.py

* Update Tests

* Update rbtree.py

* Update rbtree.py

* Update rbtree.py

* Added len()

* Added tests

---------

Co-authored-by: Emily Dolson <emilyldolson@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants