public void testGetAllColors(){
  int expectedCount=(MaterialPalettes.ALL_COLOR_NAMES.length * MaterialPalettes.NON_ACCENT_COLOR_LEVELS.length) + (MaterialPalettes.COLORS_WITH_ACCENT_NAMES.length * MaterialPalettes.ACCENT_COLOR_LEVELS.length);
  try {
    List<Integer> colorList=MaterialPalettes.getAllColors();
    assertEquals(expectedCount,colorList.size());
  }
 catch (  IllegalAccessException iae) {
    fail();
  }
}

public void testGetAllColors ( ) { int expectedCount = ( MaterialPalettes . ALL_COLOR_NAMES . length * MaterialPalettes . NON_ACCENT_COLOR_LEVELS . length ) + ( MaterialPalettes . COLORS_WITH_ACCENT_NAMES . length * MaterialPalettes . ACCENT_COLOR_LEVELS . length ) ; try { List < Integer > colorList = MaterialPalettes . getAllColors ( ) ; assertEquals ( expectedCount , colorList . size ( ) ) ; } catch ( IllegalAccessException iae ) { fail ( ) ; } }
tests to ensure getallcolors returns the proper count .
