<commit_before>﻿// Copyright <NAME> https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.

using ImageMagick;
using Xunit;

namespace Magick.NET.Tests
{
    public partial class ColorCMYKTests
    {
        public class TheColorProperties
        {
            [Fact]
            public void ShouldSetTheCorrectValue()
            {
                var color = new ColorCMYK(0, 0, 0, 0);

                color.C = 1;
                Assert.Equal(1, color.C);
                Assert.Equal(0, color.M);
                Assert.Equal(0, color.Y);
                Assert.Equal(0, color.K);
                Assert.Equal(Quantum.Max, color.A);

                color.M = 2;
                Assert.Equal(1, color.C);
                Assert.Equal(2, color.M);
                Assert.Equal(0, color.Y);
                Assert.Equal(0, color.K);
                Assert.Equal(Quantum.Max, color.A);

                color.Y = 3;
                Assert.Equal(1, color.C);<commit_msg>Corrected class name.<commit_after>﻿// Copyright <NAME> https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.

using ImageMagick;
using Xunit;

namespace Magick.NET.Tests
{
    public partial class ColorCMYKTests
    {
        public class TheProperties
        {
            [Fact]
            public void ShouldSetTheCorrectValue()
            {
                var color = new ColorCMYK(0, 0, 0, 0);

                color.C = 1;
                Assert.Equal(1, color.C);
                Assert.Equal(0, color.M);
                Assert.Equal(0, color.Y);
                Assert.Equal(0, color.K);
                Assert.Equal(Quantum.Max, color.A);

                color.M = 2;
                Assert.Equal(1, color.C);
                Assert.Equal(2, color.M);
                Assert.Equal(0, color.Y);
                Assert.Equal(0, color.K);
                Assert.Equal(Quantum.Max, color.A);

                color.Y = 3;
                Assert.Equal(1, color.C);
{'fraction_non_alphanumeric': 0.11639425458147598, 'fraction_numerical': 0.017830609212481426, 'mean_word_length': 1.4047619047619047, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7486253', 'n_tokens_mistral': 630, 'n_tokens_neox': 572, 'n_words': 127}