Routines to test the Draw graphics functions. More...
#include "pic_utils.h"
#include "config.h"
#include "draw\draw.h"
Go to the source code of this file.
Defines | |
#define | DRAW_BOTTOM_PIXEL_Y DRAW_PIXELS_HIGH - 1 |
#define | DRAW_TOP_PIXEL_Y 0 |
#define | TEST_RESULT_NO_MORE_TESTS 2 |
#define | TEST_RESULT_NOT_APPLICABLE 1 |
#define | TEST_RESULT_RAN 0 |
Functions | |
uns8 | draw_tests_run (uns8 test_num) |
Definition in file draw_tests.h.
#define DRAW_BOTTOM_PIXEL_Y DRAW_PIXELS_HIGH - 1 |
Definition at line 50 of file draw_tests.h.
Referenced by draw_tests_run().
#define DRAW_TOP_PIXEL_Y 0 |
Definition at line 49 of file draw_tests.h.
Referenced by draw_tests_run().
#define TEST_RESULT_NO_MORE_TESTS 2 |
Definition at line 58 of file draw_tests.h.
Referenced by draw_tests_run().
#define TEST_RESULT_NOT_APPLICABLE 1 |
Definition at line 57 of file draw_tests.h.
Referenced by draw_tests_run().
#define TEST_RESULT_RAN 0 |
Definition at line 56 of file draw_tests.h.
Referenced by draw_tests_run().
uns8 draw_tests_run | ( | uns8 | test_num | ) |
Definition at line 46 of file draw_tests.c.
References a_big_bitmap, a_bitmap, adventures_bitmap, draw_bitmap(), DRAW_BOTTOM_PIXEL_Y, draw_circle2(), draw_clear_screen(), draw_line(), draw_paint, draw_print_str(), draw_rect(), draw_set_pixel(), DRAW_TOP_PIXEL_Y, e_big_bitmap, e_bitmap, embedded_bitmap, serial_print_str(), TEST_RADIUS, TEST_RESULT_NO_MORE_TESTS, TEST_RESULT_NOT_APPLICABLE, TEST_RESULT_RAN, and uns8.