def test_corresponding_chromaticities_prediction_CMCCAT2000(self): """ Tests :func:`colour.corresponding.prediction.\ corresponding_chromaticities_prediction_CMCCAT2000` definition. """ np.testing.assert_almost_equal( np.array([(p.uvp_m, p.uvp_p) for p in corresponding_chromaticities_prediction_CMCCAT2000()]), CMCCAT2000_PREDICTION_DATA, decimal=7)
def test_corresponding_chromaticities_prediction_CMCCAT2000(self): """ Tests :func:`colour.corresponding.prediction.\ corresponding_chromaticities_prediction_CMCCAT2000` definition. """ np.testing.assert_almost_equal(np.array([ (p.uvp_m, p.uvp_p) for p in corresponding_chromaticities_prediction_CMCCAT2000() ]), CMCCAT2000_PREDICTION_DATA, decimal=7)