Ejemplo n.º 1
0
        public void AreSizes(string expected, SpacingSize spacingSize)
        {
            var padding = new FluentPadding();

            padding.WithSize(spacingSize);

            var classname = padding.Class(classProvider);

            Assert.Equal(expected, classname);
        }
Ejemplo n.º 2
0
        public void AreBreakpoints_OnAll(string expected, SpacingSize spacingSize, Side side, Breakpoint breakpoint)
        {
            var padding = new FluentPadding();

            padding.WithSize(spacingSize);

            if (side != Side.None)
            {
                padding.WithSide(side);
            }

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

            var classname = padding.Class(classProvider);

            Assert.Equal(expected, classname);
        }