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

A dictionary object that responds to the maths. #328

Closed
wants to merge 1 commit into from
Closed

Conversation

LettError
Copy link
Member

Hoping to fill a gap in the mathObjects, MathDict behaves like a dict, as well as a math object. It follows the same implementation as the others, using the math functions.

This is subclassed from orderedDict, because I happened to need that as well. UnitTests added.

This is also an orderedDict.
Copy link

codecov bot commented Dec 28, 2024

Codecov Report

Attention: Patch coverage is 83.51648% with 15 lines in your changes missing coverage. Please review.

Project coverage is 89.28%. Comparing base (f8a68f9) to head (a585457).

Files with missing lines Patch % Lines
Lib/fontMath/mathDict.py 76.56% 11 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #328      +/-   ##
==========================================
- Coverage   89.55%   89.28%   -0.27%     
==========================================
  Files          13       15       +2     
  Lines        2355     2446      +91     
  Branches      302      311       +9     
==========================================
+ Hits         2109     2184      +75     
- Misses        177      188      +11     
- Partials       69       74       +5     
Flag Coverage Δ
unittests 89.28% <83.51%> (-0.23%) ⬇️

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.

@LettError
Copy link
Member Author

More work tbd. Will offer this again later.

@LettError LettError closed this Dec 28, 2024
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.

1 participant