public IEnumerable <IMaterialModelProperty> GetGeneralProperties(TopologicalSupport support) { if (support == TopologicalSupport.Volume) { yield return(new MaterialModelProperty(PropertySingleValueFactory.CreateDensity())); } }
public void TestMethod1() { var prop = PropertySingleValueFactory.CreateYoungModulus(); Assert.IsFalse(string.IsNullOrEmpty(prop.Name)); Assert.IsTrue(string.IsNullOrEmpty(prop.Name)); }