function checkRGBData(expectedColor, actualColor) {
    assertEquals(expectedColor.r, actualColor.r);
    assertEquals(expectedColor.g, actualColor.g);
    assertEquals(expectedColor.b, actualColor.b);
  }
/**
   * Helper function which checks if the given color is matches the expected
   * color.
   * @param {Color} expectedColor
   * @param {Color} actualColor
   */
Helper function which checks if the given color is matches the expected
color.
@param {Color} expectedColor
@param {Color} actualColor
Helper function which checks if the given color is matches the expected color . @param { Color } expectedColor @param { Color } actualColor
function checkRGBData(expectedColor, actualColor) {
    assertEquals(expectedColor.r, actualColor.r);
    assertEquals(expectedColor.g, actualColor.g);
    assertEquals(expectedColor.b, actualColor.b);
  }
function checkRGBData ( expectedColor , actualColor ) { assertEquals ( expectedColor . r , actualColor . r ) ; assertEquals ( expectedColor . g , actualColor . g ) ; assertEquals ( expectedColor . b , actualColor . b ) ; }
Helper function which checks if the given color is matches the expected
 color.
Helper function which checks if the given color is matches the expected color .