📄 Colors/tests/OklchConverterTests/ToScaledOklchShould.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Shouldly;
using SixLabors.ImageSharp.PixelFormats;

namespace Mosaic.Colors.Tests.OklchConverterTests;

[TestClass]
public sealed class ToScaledOklchShould
{
    [TestMethod]
    public void ProduceABadassColor()
    {
        // Arrange
        var rgb = new Rgba32(0xBA, 0xDA, 0x55);

        // Act
        var oklch = rgb.ToScaledOklch();

        // Assert
        oklch.R.ShouldBe<byte>(214);
        oklch.G.ShouldBe<byte>(103);
        oklch.B.ShouldBe<byte>(86);
    }
}