Esempio n. 1
0
        public void AreHeight(string expected, SizingSize sizingSize)
        {
            var sizing = new FluentSizing(SizingType.Height);

            sizing.WithSize(sizingSize);

            var classname = sizing.Class(classProvider);

            Assert.Equal(expected, classname);
        }
Esempio n. 2
0
        public void IsWidth_Max100()
        {
            var sizing = new FluentSizing(SizingType.Width);

            sizing.WithSize(SizingSize.Is100);
            sizing.WithMax();

            var classname = sizing.Class(classProvider);

            Assert.Equal("mw-100", classname);
        }
Esempio n. 3
0
        public void IsWidth_MinViewport()
        {
            var sizing = new FluentSizing(SizingType.Width);

            sizing.WithSize(SizingSize.Is100);
            sizing.WithMin();
            sizing.WithViewport();

            var classname = sizing.Class(classProvider);

            Assert.Equal("min-vw-100", classname);
        }