public void Should_Be_Analog_To_ColorSystemSupport(ColorSystem colors, ColorSystemSupport support) { // Given, When var result = (int)colors; // Then result.ShouldBe((int)support); }
public void Should_Create_Console_With_Requested_ColorSystem(ColorSystemSupport requested, ColorSystem expected) { // Given, When var console = AnsiConsole.Create(new AnsiConsoleSettings { ColorSystem = requested, Out = new AnsiConsoleOutput(new StringWriter()), }); // Then console.Profile.Capabilities.ColorSystem.ShouldBe(expected); }