public void TestEmpty()
        {
            TiffValueCollection <int> emptyVal = TiffValueCollection.Empty <int>();

            Assert.Empty(emptyVal);
            Assert.True(emptyVal.IsEmpty);
            Assert.True(emptyVal.Count == 0);

            var emptyVal2 = new TiffValueCollection <int>(Array.Empty <int>());

            Assert.Empty(emptyVal2);
            Assert.True(emptyVal2.IsEmpty);
            Assert.True(emptyVal2.Count == 0);

            var emptyVal3 = new TiffValueCollection <int>(Array.Empty <int>().AsSpan());

            Assert.Empty(emptyVal3);
            Assert.True(emptyVal3.IsEmpty);
            Assert.True(emptyVal3.Count == 0);

            var emptyVal4 = new TiffValueCollection <int>(null);

            Assert.Empty(emptyVal4);
            Assert.True(emptyVal4.IsEmpty);
            Assert.True(emptyVal4.Count == 0);

            TiffValueCollection <string> emptyRef = TiffValueCollection.Empty <string>();

            Assert.Empty(emptyVal);
            Assert.True(emptyVal.IsEmpty);
            Assert.True(emptyVal.Count == 0);

            int count = 0;

            foreach (int v in emptyVal)
            {
                count++;
            }
            Assert.Equal(0, count);

            count = 0;
            foreach (int v in emptyVal2)
            {
                count++;
            }
            Assert.Equal(0, count);

            count = 0;
            foreach (int v in emptyVal3)
            {
                count++;
            }
            Assert.Equal(0, count);

            foreach (string v in emptyRef)
            {
                count++;
            }
            Assert.Equal(0, count);
        }
 /// <summary>
 /// Initialize the middleware with the default YCbCrCoefficients and ReferenceBlackWhite tags.
 /// </summary>
 public TiffChunkyYCbCr161616Interpreter() : this(TiffValueCollection.Empty <TiffRational>(), TiffValueCollection.Empty <TiffRational>())
 {
 }
 /// <summary>
 /// Initialize the middleware with the default YCbCrCoefficients and ReferenceBlackWhite tags.
 /// </summary>
 public TiffPlanarYCbCr888Interpreter() : this(TiffValueCollection.Empty <TiffRational>(), TiffValueCollection.Empty <TiffRational>())
 {
 }