tests/Colourful.Tests/Spaces/Lab/XYZAndLabConversionTest.cs
/// <summary>
/// Tests conversion from <see cref="XYZColor" /> to <see cref="LabColor" /> and checks that it requires a white point.
/// </summary>
Tests conversion from  to  and checks that it requires a white point.
Tests conversion from to and checks that it requires a white point .
[Fact]
        public void Convert_XYZ_to_Lab_RequiredWhitePoint()
        {
            var ex = Assert.Throws<MissingConversionMetadataException>(() => { new ConverterBuilder().FromXYZ().ToLab().Build(); });
            Assert.Equal(ex.Key, ConversionMetadataKeys.WhitePoint);
        }
[ Fact ] public void Convert_XYZ_to_Lab_RequiredWhitePoint ( ) { var ex = Assert . Throws < MissingConversionMetadataException > ( ( ) => { new ConverterBuilder ( ) . FromXYZ ( ) . ToLab ( ) . Build ( ) ; } ) ; Assert . Equal ( ex . Key , ConversionMetadataKeys . WhitePoint ) ; }
Tests conversion from  to  and checks that it requires a white point.
Tests conversion from to and checks that it requires a white point .