File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
.ci/code/BHoM_Adapter_Tests Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -194,6 +194,27 @@ public void DependencyOrder_UpdateAndFullPush()
194
194
"For Node objects, UpdateOnly should have come before FullPush." ) ;
195
195
}
196
196
197
+ [ Test ]
198
+ public void DependencyOrder_CreateLoadNoObjectsWithIds ( )
199
+ {
200
+ List < BarUniformlyDistributedLoad > loads = Create . RandomObjects < BarUniformlyDistributedLoad > ( 3 ) ;
201
+
202
+ sa . Push ( loads ) ;
203
+
204
+ string correctOrder = "BH.oM.Structure.MaterialFragments.IMaterialFragment, " +
205
+ "BH.oM.Structure.Constraints.Constraint6DOF, " +
206
+ "BH.oM.Structure.SectionProperties.ISectionProperty, " +
207
+ "BH.oM.Structure.Elements.Node, " +
208
+ "BH.oM.Structure.Constraints.BarRelease, " +
209
+ "BH.oM.Structure.Offsets.Offset, " +
210
+ "BH.oM.Structure.Elements.Bar, " +
211
+ "BH.oM.Structure.Loads.Loadcase, " +
212
+ "BH.oM.Structure.Loads.BarUniformlyDistributedLoad" ;
213
+ string createdOrder = string . Join ( ", " , sa . Created . Select ( c => c . Item1 . FullName ) ) ;
214
+
215
+ Assert . AreEqual ( correctOrder , createdOrder ) ;
216
+ }
217
+
197
218
[ Test ]
198
219
public void DependencyOrder_CreateLoadAllObjectsWithIds ( )
199
220
{
You can’t perform that action at this time.
0 commit comments