Skip to content

Commit

Permalink
Update Geometry.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
alelom authored and Fraser Greenroyd committed Jun 13, 2023
1 parent 03bae49 commit 084f9aa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .ci/unit-tests/Structure_Engine_Tests/Query/Geometry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ namespace BH.Tests.Engine.Base.Query
{
public class Geometry : NUnitTest
{
private static ConcreteSection concreteSection = (ConcreteSection)BH.Engine.Base.Create.RandomObject(typeof(ConcreteSection));

[Test]
public static void CrossSectionGeometry3D()
{
ConcreteSection concreteSection = (ConcreteSection)BH.Engine.Base.Create.RandomObject(typeof(ConcreteSection));
var geom = BH.Engine.Structure.Query.Geometry(concreteSection);
geom.ShouldNotBeNull();
}

[Test]
public static void CrossSectionIGeometryExtensionMethodNotNull()
{
ConcreteSection concreteSection = (ConcreteSection)BH.Engine.Base.Create.RandomObject(typeof(ConcreteSection));
var geom = BH.Engine.Base.Query.IGeometry(concreteSection);
geom.ShouldNotBeNull();
}
Expand All @@ -53,7 +53,6 @@ public static void CrossSectionIGeometryExtensionMethodNotNull()
[Description("Calls an IGeometry extension method and another extension method. Useful to very that the matching lookup works when multiple delegates are stored.")]
public static void MultipleGeometryExtensionMethodNotNull()
{
ConcreteSection concreteSection = (ConcreteSection)BH.Engine.Base.Create.RandomObject(typeof(ConcreteSection));
var geom = BH.Engine.Base.Query.IGeometry(concreteSection);
geom.ShouldNotBeNull();

Expand Down

0 comments on commit 084f9aa

Please sign in to comment.