context.draw();
}
@Test
public void fillTrianglesWithColorAndNull() {
final Triangle[] triangles = getTriangles(true, false, false);
context.setGraphicsListener(new GraphicsListener() {
public void draw(View view, Graphics graphics) {
graphics.clear();
graphics.fillTriangles(triangles, true);
}
public void init(View view, Graphics renderer) {}