Skip to content

Commit

Permalink
Adding UTs
Browse files Browse the repository at this point in the history
  • Loading branch information
IsakNaslundBh committed Mar 10, 2023
1 parent d5b68a7 commit 1578bc2
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 1 deletion.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .ci/Datasets/Spatial_Engine/Query/OpeningArea.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "_t" : "BH.oM.Data.Library.Dataset", "BHoM_Guid" : "b510f175-dace-47c1-86a3-959fcd23df96", "Name" : "OpeningArea", "Fragments" : [], "Tags" : [], "CustomData" : { }, "SourceInformation" : { "_t" : "BH.oM.Data.Library.Source", "BHoM_Guid" : "61d6694a-5921-46ea-8756-967a16b9c931", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "SourceLink" : "", "Title" : "OpeningArea", "Author" : "INaslund", "ItemReference" : "", "Version" : "", "Publisher" : "", "Schema" : "", "Language" : "", "Location" : "", "Copyright" : "", "Contributors" : "", "Confidence" : "Undefined" }, "TimeOfCreation" : { "$date" : 1678459826436 }, "Data" : [{ "_t" : "BH.oM.Test.UnitTests.UnitTest", "BHoM_Guid" : "86c7178f-7c80-4306-8249-937c9768f0b5", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Method" : { "_t" : "System.Reflection.MethodBase", "TypeName" : "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Engine.Spatial.Query, Spatial_Engine, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"6.1\" }", "MethodName" : "IOpeningArea", "Parameters" : ["{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Spatial.ShapeProfiles.CellularOpenings.ICellularOpening\", \"_bhomVersion\" : \"6.1\" }"], "_bhomVersion" : "6.1" }, "Data" : [{ "_t" : "BH.oM.Test.UnitTests.TestData", "BHoM_Guid" : "538e756a-209a-4bd3-aca8-14e35d3f8f5b", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Inputs" : [{ "_t" : "BH.oM.Spatial.ShapeProfiles.CellularOpenings.HexagonalCellularOpening", "BHoM_Guid" : "61da5f69-9f5f-4fbe-904a-b25b01e0f4b8", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Height" : 0.90000000000000002, "Width" : 0.90000000000000002, "WidthWebPost" : 0.29999999999999993, "SpacerHeight" : 0.0, "Spacing" : 1.2 }], "Outputs" : [0.54000000000000004] }, { "_t" : "BH.oM.Test.UnitTests.TestData", "BHoM_Guid" : "8968cf36-a71b-4d1f-a2c1-65014a2d360c", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Inputs" : [{ "_t" : "BH.oM.Spatial.ShapeProfiles.CellularOpenings.HexagonalCellularOpening", "BHoM_Guid" : "a74ae2a6-18b0-4d72-9e3f-8ff2949b7c35", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Height" : 0.90000000000000002, "Width" : 0.90000000000000002, "WidthWebPost" : 0.29999999999999993, "SpacerHeight" : 0.40000000000000002, "Spacing" : 1.2 }], "Outputs" : [0.90000000000000013] }, { "_t" : "BH.oM.Test.UnitTests.TestData", "BHoM_Guid" : "7aebb2e0-d9d6-495c-b850-a4f2ff523319", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Inputs" : [{ "_t" : "BH.oM.Spatial.ShapeProfiles.CellularOpenings.CircularCellularOpening", "BHoM_Guid" : "43b47b33-94b9-4b41-b584-e39b3119c70e", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Diameter" : 0.76000000000000001, "WidthWebPost" : 0.43999999999999995, "Spacing" : 1.2 }], "Outputs" : [0.45364597917836613] }, { "_t" : "BH.oM.Test.UnitTests.TestData", "BHoM_Guid" : "5265c977-142c-47f7-b00d-f93b72e48eb4", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Inputs" : [{ "_t" : "BH.oM.Spatial.ShapeProfiles.CellularOpenings.SinusoidalCellularOpening", "BHoM_Guid" : "da4fa894-6bcb-486f-a98c-c6fd9e0ee76d", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Height" : 0.73999999999999999, "Width" : 0.0, "SinusoidalLength" : 0.44999999999999996, "WidthWebPost" : 0.10000000000000009, "Spacing" : 1.1000000000000001 }], "Outputs" : [0.40700000000000003] }, { "_t" : "BH.oM.Test.UnitTests.TestData", "BHoM_Guid" : "ab3cd7a7-5c48-4bf3-9754-578425626fe0", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Inputs" : [{ "_t" : "BH.oM.Spatial.ShapeProfiles.CellularOpenings.HexagonalCellularOpening", "BHoM_Guid" : "3df1ea35-377a-4ecc-992a-ba4c59183433", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Height" : 0.56000000000000005, "Width" : 0.90000000000000002, "WidthWebPost" : 0.29999999999999993, "SpacerHeight" : 0.0, "Spacing" : 1.2 }], "Outputs" : [0.33600000000000002] }, { "_t" : "BH.oM.Test.UnitTests.TestData", "BHoM_Guid" : "9364cc00-b05c-44ef-9f8f-c79693653a1d", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Inputs" : [{ "_t" : "BH.oM.Spatial.ShapeProfiles.CellularOpenings.HexagonalCellularOpening", "BHoM_Guid" : "b149d837-fba9-4460-b5a4-57a79f76a12b", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Height" : 0.56000000000000005, "Width" : 0.90000000000000002, "WidthWebPost" : 0.29999999999999993, "SpacerHeight" : 0.40000000000000002, "Spacing" : 1.2 }], "Outputs" : [0.69600000000000006] }, { "_t" : "BH.oM.Test.UnitTests.TestData", "BHoM_Guid" : "2438eac0-3981-4894-b498-65f18c9a4af8", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Inputs" : [{ "_t" : "BH.oM.Spatial.ShapeProfiles.CellularOpenings.CircularCellularOpening", "BHoM_Guid" : "497815d1-28c2-4903-8382-d7248c17c4ea", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Diameter" : 0.76000000000000001, "WidthWebPost" : 0.43999999999999995, "Spacing" : 1.2 }], "Outputs" : [0.45364597917836613] }, { "_t" : "BH.oM.Test.UnitTests.TestData", "BHoM_Guid" : "aed5761f-816b-461f-b8ed-9c7cd4efff2a", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Inputs" : [{ "_t" : "BH.oM.Spatial.ShapeProfiles.CellularOpenings.SinusoidalCellularOpening", "BHoM_Guid" : "769e71a6-4045-418b-a6fb-b1880b4cd1fc", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Height" : 0.73999999999999999, "Width" : 0.0, "SinusoidalLength" : 0.45000000000000007, "WidthWebPost" : 0.19999999999999996, "Spacing" : 1.3 }], "Outputs" : [0.48099999999999998] }] }], "_bhomVersion" : "6.1" }
Loading

0 comments on commit 1578bc2

Please sign in to comment.