Пример #1
0
        public void Slope_IsVerticalUpward()
        {
            var slope = new Slope();

            slope.setFromXY(0.0, 1.0);

            Assert.IsTrue(slope.isVertical());

            Assert.AreEqual(expected: "Vertical", actual: slope.ToString());

            Assert.IsTrue(slope.isSlopeUp());
        }