Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 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);
 }
Ejemplo n.º 3
0
 public void TextilesConstantsCorrect()
 {
     var constants = new Cie94Comparison.ApplicationConstants(Cie94Comparison.Application.Textiles);
     Assert.AreEqual(2.0, constants.Kl);
 }
Ejemplo n.º 4
0
 public void GraphicArtConstantsCorrect()
 {
     var constants = new Cie94Comparison.ApplicationConstants(Cie94Comparison.Application.GraphicArts);
     Assert.AreEqual(1.0, constants.Kl);
 }