-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add a test for new Hsteps
keyword argument
#46
Conversation
Test structure of new `TestHysteresisDriver` class is now similar to already existing `TestMinDriver` class.
for more information, see https://pre-commit.ci
Codecov ReportAll modified and coverable lines are covered by tests ✅
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. |
We plan to completely switch to using fixtures and simple test functions instead of test classes with setup/teardown methods
for more information, see https://pre-commit.ci
@newton-per-sqm I have reverted the structure to simple functions (instead of the class) and added additional fixtures to avoid duplication. |
We should wait with merging until ubermag/oommfc#151 is merged. |
Skip new hysteresis test from ubermag/micromagnetictests#46
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 existingTestMinDriver
class.Just a draft idea, if you want to, we could also just write a second function. IMHO the class structure is nicer.