assertEquals(c.black(), d.black());
assertEquals(c.alpha(), d.alpha());
}
public void testGradient() {
ColorGradient grad = new ColorGradient();
grad.addColorAt(0, TColor.RED);
grad.addColorAt(0.5f, TColor.RED);
grad.addColorAt(2.5f, TColor.YELLOW);
grad.addColorAt(299f, TColor.BLUE);
ColorList cols = grad.calcGradient();
// assertEquals(TColor.BLUE, cols.get(-1));
}