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); }
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); }
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); }