public void ReadESoupis() { using (var file = File.OpenRead("Data/eSoupis.xml")) { var s = TeSoupis.Deserialize(file); Assert.IsNotNull(s); } }
public void ConvertEsoupisTest() { using var file = File.OpenRead("Data/eSoupis.xml"); var s = TeSoupis.Deserialize(file); Assert.IsNotNull(s); using var model = Convertor.Convert(s); model.SaveAsIfc($"eSoupis.ifc"); Assert.IsTrue(model.IsValid(out IEnumerable <ValidationResult> errs)); }