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

GSAGH-550, GSAGH-560 : Analysis case is not consistent with the Load case in Gsa_GH #737

Open
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

SandeepArup
Copy link
Collaborator

@SandeepArup SandeepArup commented Dec 19, 2024

Created default task in load case order and hence able to pull result

image

@SandeepArup SandeepArup requested a review from psarras December 19, 2024 10:09
@SandeepArup SandeepArup changed the base branch from main to release/10.2.14 December 23, 2024 07:01
@SandeepArup SandeepArup changed the base branch from release/10.2.14 to main December 23, 2024 07:02
LengthUnit.Meter, Length.Zero, false, null);
var model = new GsaModel(assembly.GetModel());
List<GsaAnalysisTaskGoo> importedTasks = model.GetAnalysisTasksAndCombinations().Item1;

Copy link
Collaborator

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

Suggested change
Assert.Equal(importedTasks, seedTasks);

Copy link
Collaborator Author

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));

@SandeepArup SandeepArup changed the base branch from main to release/10.2.14 January 6, 2025 05:19
@SandeepArup SandeepArup changed the base branch from release/10.2.14 to main January 6, 2025 05:20
Copy link

sonarqubecloud bot commented Jan 7, 2025

Copy link

codecov bot commented Jan 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.4%. Comparing base (9c386d9) to head (7789e2b).

Additional details and impacted files

Impacted file tree graph

@@          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     
Files with missing lines Coverage Δ
GsaGH/Components/4_Analysis/AnalyseModel.cs 88.4% <100.0%> (-1.0%) ⬇️
GsaGH/Components/4_Analysis/CreateAnalysisTask.cs 98.4% <100.0%> (-0.1%) ⬇️
GsaGH/Helpers/Assembly/ModelAssembly.cs 85.7% <100.0%> (+0.2%) ⬆️
GsaGH/Helpers/TaskHelper.cs 100.0% <100.0%> (ø)
GsaGH/Parameters/0_Model/GsaModel.cs 88.0% <100.0%> (+0.3%) ⬆️
GsaGH/Parameters/4_Analysis/GsaAnalysisCase.cs 100.0% <100.0%> (ø)
GsaGH/Parameters/4_Analysis/GsaAnalysisTask.cs 95.4% <100.0%> (+0.4%) ⬆️

@SandeepArup SandeepArup changed the title GSAGH-550: Analysis case is not consistent with the Load case in Gsa_GH GSAGH-550, GSAGH-560 : Analysis case is not consistent with the Load case in Gsa_GH Jan 9, 2025
@SandeepArup SandeepArup marked this pull request as ready for review January 9, 2025 09:01
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.

2 participants