示例#1
0
        public void AreFlex(string expected, DisplayType displayType)
        {
            var display = new FluentDisplay();

            display.WithFlex(displayType);

            var classname = display.Class(classProvider);

            Assert.Equal(expected, classname);
        }
示例#2
0
        public void AreConditions(string expected, DisplayType displayType, bool condition)
        {
            var display = new FluentDisplay();

            display.WithFlex(displayType);
            display.If(condition);

            var classname = display.Class(classProvider);

            Assert.Equal(expected, classname);
        }
示例#3
0
        public void AreBreakpoints_OnAll(string expected, DisplayType displayType, DisplayDirection direction, Breakpoint breakpoint)
        {
            var display = new FluentDisplay();

            display.WithDisplay(displayType);

            if (direction != DisplayDirection.None)
            {
                display.WithDirection(direction);
            }

            if (breakpoint != Breakpoint.None)
            {
                display.WithBreakpoint(breakpoint);
            }

            var classname = display.Class(classProvider);

            Assert.Equal(expected, classname);
        }