public void AreFlex(string expected, DisplayType displayType) { var display = new FluentDisplay(); display.WithFlex(displayType); var classname = display.Class(classProvider); Assert.Equal(expected, classname); }
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); }
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); }