public void testProtanopiaColorMatcherIsDistinguishable() { ColorMatcher colorMatcher = new ColorMatcher(PROTANOPIA); assertFalse(“BLUE and VIOLET are indistinguishable”, colorMatcher.isDistinguishable(Color.BLUE, Color.VIOLET));}
Failure: testProtanopiaColorMatcherIsDistinguishable:Message: BLUE and VIOLET are indistinguishable
Failure: testProtanopiaColorMatcherCannotDistinguishBetweenCertainPairsOfColorsMessage: BLUE and VIOLET should be indistinguishable
No comments :
Post a Comment