diff --git a/FemDesign.Tests/Composites/CompositeBeamTest.cs b/FemDesign.Tests/Composites/CompositeBeamTest.cs index 552aab74..f2caae15 100644 --- a/FemDesign.Tests/Composites/CompositeBeamTest.cs +++ b/FemDesign.Tests/Composites/CompositeBeamTest.cs @@ -87,53 +87,6 @@ public void CompositeBeamB() Assert.AreEqual(complexCompositesOut.Count, complexCompositesIn.Count); } - public void CompositeColumnA() - { - // Load material and sections from .struxml files - var materialsDB = Materials.MaterialDatabase.DeserializeStruxml(@"C:\Repos\femdesign-api\FemDesign.Tests\bin\Debug\Composites\materials.struxml"); - var steel = materialsDB.MaterialByName("S 275"); - var concrete = materialsDB.MaterialByName("C25/30"); - var matList = new List() { steel, concrete }; - - var sectionsDB = Sections.SectionDatabase.DeserializeStruxml(@"C:\Repos\femdesign-api\FemDesign.Tests\bin\Debug\Composites\sections.struxml"); - var steelSection = sectionsDB.SectionByName("Steel sections, HE-B, 300"); - var concreteSection = sectionsDB.SectionByName("Unnamed, Concrete, 3"); - var secList = new List() { steelSection, concreteSection }; - - - // Create composite object - var composite = new Composites(); - - // Create composite section - string name = "TestColumnA1"; - double cy = 80; //mm - double cz = 80; //mm - CompositeSection compositeSection = CompositeSection.FilledIProfile(steel, concrete, steelSection, name, cy, cz); - - composite.CompositeSection = new List() { compositeSection }; - - //composite.CompositeSection[0].ParameterDictionary[CompositeParameterType.]; - //var sth = GetCompositeSectionParameters(compositeSection); - - - // Create complex composite - ComplexComposite complexComposite = new ComplexComposite(compositeSection); - composite.ComplexComposite = new List() { complexComposite }; - - - // Serialize struxml - string fileName = "CompositeSerialization"; - string filePath = @"D:\Andi\API_Work\0_Github\802_CompositeSections\tests\CSharp\" + fileName + ".struxml"; - this.SerializeComposite(filePath, composite); - - //Deserialize struxml - Composites inData = DeserializeComposite(filePath); - - // Compare data - Assert.AreEqual(composite, inData); - } - - public void SerializeComposite(string filePath, Composites composite) {