public void TextilesApplication()
 {
     var c = new Cie94Comparison(Cie94Comparison.Application.Textiles);
     var constants = new Cie94Comparison.ApplicationConstants(Cie94Comparison.Application.Textiles);
     Assert.AreEqual(constants.Kl, c.Constants.Kl);
     Assert.AreEqual(constants.K1, c.Constants.K1);
     Assert.AreEqual(constants.K2, c.Constants.K2);
 }
 public void DefaultsToGraphicArts()
 {
     var c = new Cie94Comparison();
     var constants = new Cie94Comparison.ApplicationConstants(Cie94Comparison.Application.GraphicArts);
     Assert.AreEqual(constants.Kl, c.Constants.Kl);
     Assert.AreEqual(constants.K1, c.Constants.K1);
     Assert.AreEqual(constants.K2, c.Constants.K2);
 }
 private static void ReturnsExpectedValueForKnownInput(double expectedValue, Cie94Comparison.Application application, IColorSpace a, IColorSpace b)
 {
     var target = new Cie94Comparison(application);
     var actualValue = a.Compare(b, target);
     Assert.IsTrue(expectedValue.BasicallyEqualTo(actualValue), expectedValue + " != " + actualValue);
 }