Skip to content

Commit

Permalink
Add UTs
Browse files Browse the repository at this point in the history
  • Loading branch information
IsakNaslundBh committed Mar 10, 2023
1 parent bb9953f commit 6305ce4
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 2 deletions.

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" : "82e826ab-60b3-4d02-95b7-bd0359851f6b", "Name" : "OpeningArea", "Fragments" : [], "Tags" : [], "CustomData" : { }, "SourceInformation" : { "_t" : "BH.oM.Data.Library.Source", "BHoM_Guid" : "59bd656d-eea1-4e23-b0ce-c2843ae48bd2", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "SourceLink" : "", "Title" : "OpeningArea", "Author" : "INaslund", "ItemReference" : "", "Version" : "", "Publisher" : "", "Schema" : "", "Language" : "", "Location" : "", "Copyright" : "", "Contributors" : "", "Confidence" : "Undefined" }, "TimeOfCreation" : { "$date" : 1678460750507 }, "Data" : [{ "_t" : "BH.oM.Test.UnitTests.UnitTest", "BHoM_Guid" : "b24818d3-b865-48f3-8005-e9542b02b124", "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" : "2462d85b-03ab-45d2-aefd-8a4d91bc095b", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Inputs" : [{ "_t" : "BH.oM.Spatial.ShapeProfiles.CellularOpenings.HexagonalCellularOpening", "BHoM_Guid" : "f4dccf3f-3614-4af8-9f54-1a59d59c4b43", "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" : "e623e329-b46c-4d77-b97c-b6eeb78273a7", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Inputs" : [{ "_t" : "BH.oM.Spatial.ShapeProfiles.CellularOpenings.HexagonalCellularOpening", "BHoM_Guid" : "89b6be1a-10aa-46a6-a377-15b292e9b972", "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" : "3cba3da1-f28b-46a3-b796-819c8cd57665", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Inputs" : [{ "_t" : "BH.oM.Spatial.ShapeProfiles.CellularOpenings.CircularCellularOpening", "BHoM_Guid" : "c958c277-6400-46ba-bd83-daf22c71c2ab", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Diameter" : 0.76000000000000001, "WidthWebPost" : 0.43999999999999995, "Spacing" : 1.2 }], "Outputs" : [0.45364597917836613] }, { "_t" : "BH.oM.Test.UnitTests.TestData", "BHoM_Guid" : "bacf9279-cfcf-4da4-923f-b13c73fb9ab5", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Inputs" : [{ "_t" : "BH.oM.Spatial.ShapeProfiles.CellularOpenings.SinusoidalCellularOpening", "BHoM_Guid" : "20fc5290-76a3-48fe-99bb-9a4ac845ca02", "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" : "3c449a1c-a316-40ff-adc1-0eb8cd1a068f", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Inputs" : [{ "_t" : "BH.oM.Spatial.ShapeProfiles.CellularOpenings.HexagonalCellularOpening", "BHoM_Guid" : "2cac9d4b-58f3-45a5-9dbe-0e46e4eebff4", "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" : "04ab9f9a-9d0d-4e74-9442-d2797b40b44a", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Inputs" : [{ "_t" : "BH.oM.Spatial.ShapeProfiles.CellularOpenings.HexagonalCellularOpening", "BHoM_Guid" : "0315b622-a761-4553-a9ee-35f845394ecf", "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" : "38505b87-f2fa-41f5-aad5-87893f27bd23", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Inputs" : [{ "_t" : "BH.oM.Spatial.ShapeProfiles.CellularOpenings.CircularCellularOpening", "BHoM_Guid" : "c6d6d1c8-b7b8-4785-845b-7310911cc748", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Diameter" : 0.76000000000000001, "WidthWebPost" : 0.43999999999999995, "Spacing" : 1.2 }], "Outputs" : [0.45364597917836613] }, { "_t" : "BH.oM.Test.UnitTests.TestData", "BHoM_Guid" : "1976fa09-0f09-4e8c-af15-d698500bfdc6", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Inputs" : [{ "_t" : "BH.oM.Spatial.ShapeProfiles.CellularOpenings.SinusoidalCellularOpening", "BHoM_Guid" : "07763b7a-6b90-49a2-8255-9a5d4f7aa1c2", "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 6305ce4

Please sign in to comment.