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

Add a test for new Hsteps keyword argument #46

Merged

Conversation

newton-per-sqm
Copy link
Contributor

Implementing a necessary new test for PR ubermag/oommfc#138 (Adding Hsteps as new keyword argument to HysteresisDriver for stepped hysteresis loops).

Test structure of new TestHysteresisDriver class is now (again) similar to already existing TestMinDriver class.

Just a draft idea, if you want to, we could also just write a second function. IMHO the class structure is nicer.

newton-per-sqm and others added 2 commits October 26, 2023 16:07
Test structure of new `TestHysteresisDriver` class is now similar to already existing `TestMinDriver` class.
@codecov-commenter
Copy link

codecov-commenter commented Oct 26, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (f10ee26) to head (6937313).

❗ Current head 6937313 differs from pull request most recent head 7e0b5b5. Consider uploading reports for the commit 7e0b5b5 to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #46   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines           14        14           
=========================================
  Hits            14        14           

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

@lang-m lang-m marked this pull request as ready for review January 24, 2024 09:37
@lang-m
Copy link
Member

lang-m commented Jan 24, 2024

@newton-per-sqm I have reverted the structure to simple functions (instead of the class) and added additional fixtures to avoid duplication.

@lang-m
Copy link
Member

lang-m commented Jan 25, 2024

We should wait with merging until ubermag/oommfc#151 is merged.

@lang-m lang-m self-assigned this May 9, 2024
lang-m added a commit to ubermag/mumax3c that referenced this pull request May 9, 2024
@lang-m
Copy link
Member

lang-m commented May 9, 2024

@lang-m Resolve conflicts after merging #51

@samjrholt
Copy link
Member

samjrholt commented May 9, 2024

@lang-m Resolve conflicts after merging #51

@lang-m I have merged #51 and resolved conflicts. Please merge and add to the change log if you are happy.

@lang-m lang-m merged commit 5d29a68 into ubermag:master Jun 8, 2024
7 checks passed
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

4 participants