-
Notifications
You must be signed in to change notification settings - Fork 92
Add tests for using ExprGraphs from NLP evaluators #1043
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
Conversation
@@ -253,7 +277,7 @@ function feasibility_sense_test_template(model::MOI.ModelLike, | |||
|
|||
@test MOI.get(model, MOI.ObjectiveValue()) ≈ 0.0 atol=atol rtol=rtol | |||
|
|||
@test MOI.get(model, MOI.VariablePrimal(), x) ≈ 1.0 atol=atol rtol=rtol | |||
@test abs(MOI.get(model, MOI.VariablePrimal(), x)) ≈ 1.0 atol=atol rtol=rtol |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that this is changing an existing test. I believe this is a bugfix, would be happy to split out into a separate PR if desired.
Looks like I never got around to finishing #624. Tests? |
Codecov Report
@@ Coverage Diff @@
## master #1043 +/- ##
=========================================
+ Coverage 95.23% 95.53% +0.3%
=========================================
Files 100 100
Lines 11349 11447 +98
=========================================
+ Hits 10808 10936 +128
+ Misses 541 511 -30
Continue to review full report at Codecov.
|
Ah, didn't see your old PR. I added some tests for HS071, but I'm not sure if they're exactly what you had in mind. Let me know what you'd like to see. |
I guess I had in mind testing the getting of the expressions. |
@odow Done. |
Not sure why codecov/patch is failing... |
Edit(odow): Closes #624