Ejemplo n.º 1
0
        public void ToString_WithName_ReturnsName(string name)
        {
            // Setup
            var profile = new MacroStabilityInwardsSoilProfile1D(name, 0.0, new[]
            {
                new MacroStabilityInwardsSoilLayer1D(0.0)
            });

            // Call
            var text = profile.ToString();

            // Assert
            Assert.AreEqual(name, text);
        }