public void GussetReturnsCompactness() { double t_g = 0.5; double c_Gusset = 2.0; double F_y = 36.0; double E = 29000.0; double l_1 = 2.0; AffectedElement el = new AffectedElement(); bool IsGussetPlateConfigurationCompact = el.IsGussetPlateConfigurationCompact(t_g, c_Gusset, F_y, E, l_1); Assert.AreEqual(true, IsGussetPlateConfigurationCompact); }
public static Dictionary <string, object> GussetPlateConfigurationCompactness(double t_g, double c_Gusset, double F_y, double l_1, double E = 29000, string Code = "AISC360-10") { //Default values bool IsGussetCompactConfiguration = false; //Calculation logic: AffectedElement el = new AffectedElement(); IsGussetCompactConfiguration = el.IsGussetPlateConfigurationCompact(t_g, c_Gusset, F_y, E, l_1); return(new Dictionary <string, object> { { "GussetPlateConfigurationCompactness", IsGussetCompactConfiguration } }); }