testing the graphic program