Пример #1
0
        public void LineView_Vertical()
        {
            var vert = new LineView(Orientation.Vertical);

            Assert.Equal(Orientation.Vertical, vert.Orientation);
            Assert.Equal(Dim.Fill(), vert.Height);
            Assert.Equal(1, vert.Width);
        }
Пример #2
0
        public void LineView_DefaultConstructor()
        {
            var horizontal = new LineView();

            Assert.Equal(Orientation.Horizontal, horizontal.Orientation);
            Assert.Equal(Dim.Fill(), horizontal.Width);
            Assert.Equal(1, horizontal.Height);
        }
Пример #3
0
        public void LineView_Horizontal()
        {
            var horizontal = new LineView(Orientation.Horizontal);

            Assert.Equal(Orientation.Horizontal, horizontal.Orientation);
            Assert.Equal(Dim.Fill(), horizontal.Width);
            Assert.Equal(1, horizontal.Height);
        }