Skip to content

Commit

Permalink
GSAGH-550: fix failing test in latest nightly build
Browse files Browse the repository at this point in the history
  • Loading branch information
SandeepArup committed Jan 7, 2025
1 parent 50fec0d commit 7789e2b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions GsaGH/Components/4_Analysis/AnalyseModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ protected override void BeforeSolveInstance() {

// add report output to old components
if (Params.Output.Count < 5) {
Params.RegisterOutputParam(new Param_String());
Params.Output[1].Name = "Errors";
Params.Output[1].NickName = "E";
Params.Output[1].Description = "Analysis Task Errors";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public void DeformedMeshTest() {
Mesh mesh = valOut.Value;
Assert.NotNull(mesh);
Assert.Equal(3452, mesh.Vertices.Count);
Assert.Equal(4722, mesh.Faces.Count);
Assert.Equal(4719, mesh.Faces.Count);
}

[Fact]
Expand Down
4 changes: 2 additions & 2 deletions IntegrationTests/3_Components/FootfallResultsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ public class FootfallResultsTests {
[Theory]
[InlineData("MaxLegend2d", (double)9)]
[InlineData("MaxLegend1d", (double)9)]
[InlineData("Resonant", 9.517186)]
[InlineData("Transient", 4.413146)]
[InlineData("Resonant", 9.515605)]
[InlineData("Transient", 4.4132066)]
[InlineData("MaxLegendNode", (double)10)]
public void Test(string groupIdentifier, object expected) {
IGH_Param param = Helper.FindParameter(Document, groupIdentifier);
Expand Down

0 comments on commit 7789e2b

Please sign in to comment.