public void SectionChannelRolledReturnsIx() { SectionChannelRolled shape = new SectionChannelRolled("", 8, 2.53, 0.39, 0.487, 15.0 / 16.0); double A = shape.I_x; Assert.AreEqual(48.244, Math.Round(A, 3)); }
public void SectionChannelRolledReturnsArea() { SectionChannelRolled shape = new SectionChannelRolled("", 8, 2.53, 0.39, 0.487, 15.0/16.0); double A = shape.A; Assert.AreEqual(5.87, Math.Round(A, 2)); }
public void SectionChannelRolledReturnsIy() { //SectionChannelRolled shape = new SectionChannelRolled("", 8, 2.53, 0.39, 0.487, 15.0 / 16.0); SectionChannelRolled shape = new SectionChannelRolled("", 8, 2.53, 0.39, 0.487, 0.0); double A = shape.I_y; //Assert.AreEqual(2.455, Math.Round(A, 3)); Assert.AreEqual(2.44, Math.Round(A, 2)); }
public ISliceableSection GetSliceableShape() { SectionChannelRolled secI = new SectionChannelRolled("", this.d, this.b_f, this.t_f, this.t_w,this.k); return secI; }
internal SectionChannelRolled(double d, double b_f, double t_f, double t_w, double k) { ISection r = new ds.SectionChannelRolled("", d, b_f, t_f, t_w, k); Section = r; }