public void ReturnsValueFor24() { BuildingElementComponent bec = new BuildingElementComponent("SolidConcreteSlab", 1, 2, 24, ""); ComponentReportEntry wEntr = bec.GetComponentWeight(); double w = wEntr.LoadValue; Assert.AreEqual(300.0, w); }
public void ReturnsValueForCurtainwall() { BuildingElementComponent bec = new BuildingElementComponent("AluminumCurtainWall"); ComponentReportEntry wEntr = bec.GetComponentWeight(); double w = wEntr.LoadValue; Assert.AreEqual(10.0, w); }