-
Notifications
You must be signed in to change notification settings - Fork 12
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
GSAGH-550, GSAGH-560 : Analysis case is not consistent with the Load case in Gsa_GH #737
base: main
Are you sure you want to change the base?
Conversation
…SA-Grasshopper into task/GSAGH-550-default-task
LengthUnit.Meter, Length.Zero, false, null); | ||
var model = new GsaModel(assembly.GetModel()); | ||
List<GsaAnalysisTaskGoo> importedTasks = model.GetAnalysisTasksAndCombinations().Item1; | ||
|
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.
use equality operator on every type so we avoid long loops of asserts
Assert.Equal(importedTasks, seedTasks); |
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.
I used existing helper class Assert.True(Duplicates.AreEqual(seedTasks, importedTasks));
Co-authored-by: Stamatios Psarras <[email protected]>
…SA-Grasshopper into task/GSAGH-550-default-task
Quality Gate passedIssues Measures |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #737 +/- ##
=====================================
Coverage 90.4% 90.4%
=====================================
Files 531 532 +1
Lines 39305 39303 -2
Branches 4919 4914 -5
=====================================
Hits 35538 35538
+ Misses 2501 2500 -1
+ Partials 1266 1265 -1
|
Created default task in load case order and hence able to pull result