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

Refactor make_line #374

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Refactor make_line #374

wants to merge 7 commits into from

Conversation

faridyagubbayli
Copy link
Collaborator

@faridyagubbayli faridyagubbayli commented Apr 23, 2024

Closes #263

Splits the long make_line function into two new functions. The first function handles drawing straight lines while the second draws lines with angle.

  • Add "edge case" tests

Copy link

codecov bot commented Apr 23, 2024

Codecov Report

Attention: Patch coverage is 64.22764% with 44 lines in your changes are missing coverage. Please review.

Project coverage is 68.18%. Comparing base (b17061a) to head (acd9e6b).

Files Patch % Lines
kwave/utils/mapgen.py 64.22% 32 Missing and 12 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #374      +/-   ##
==========================================
+ Coverage   68.00%   68.18%   +0.18%     
==========================================
  Files          48       48              
  Lines        7066     7025      -41     
  Branches     1605     1596       -9     
==========================================
- Hits         4805     4790      -15     
+ Misses       1687     1663      -24     
+ Partials      574      572       -2     
Flag Coverage Δ
3.10 68.34% <64.22%> (+0.18%) ⬆️
3.11 68.34% <64.22%> (+0.18%) ⬆️
3.12 68.34% <64.22%> (+0.18%) ⬆️
3.9 68.15% <64.22%> (+0.18%) ⬆️
ubuntu-latest 68.12% <64.22%> (+0.18%) ⬆️
windows-latest 68.12% <64.22%> (+0.18%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

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.

Refactor make_line in kwave.utils.mapgen
2 participants