| 1 |
/* File: pencil_diagram_maker_test.h; Copyright and License: see below */ |
| 2 |
|
| 3 |
#ifndef PENCIL_DIAGRAM_MAKER_TEST_H |
| 4 |
#define PENCIL_DIAGRAM_MAKER_TEST_H |
| 5 |
|
| 6 |
/*! |
| 7 |
* \file |
| 8 |
* \brief MODULE TEST for pencil_diagram_maker |
| 9 |
*/ |
| 10 |
|
| 11 |
#include "test_suite.h" |
| 12 |
#include "geometry/geometry_rectangle.h" |
| 13 |
|
| 14 |
/*! |
| 15 |
* \brief gets the test suite for pencil_diagram_maker |
| 16 |
* |
| 17 |
* \return test suite |
| 18 |
*/ |
| 19 |
test_suite_t pencil_diagram_maker_test_get_suite(void); |
| 20 |
|
| 21 |
/*! |
| 22 |
* \brief draws rectangles for layout_visible_set_analyze to indicate overlaps |
| 23 |
* |
| 24 |
* \param data pointer that is passed to overlap_callback |
| 25 |
* \param rect_a pointer to a rectangle that overlaps with rect_b |
| 26 |
* \param rect_b pointer to a rectangle that overlaps with rect_a |
| 27 |
*/ |
| 28 |
void pencil_diagram_maker_test_draw_rects_callback ( void *data, |
| 29 |
const geometry_rectangle_t *rect_a, |
| 30 |
const geometry_rectangle_t *rect_b |
| 31 |
); |
| 32 |
|
| 33 |
#endif /* PENCIL_DIAGRAM_MAKER_TEST_H */ |
| 34 |
|
| 35 |
|
| 36 |
/* |
| 37 |
* Copyright 2021-2026 Andreas Warnke |
| 38 |
* |
| 39 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 40 |
* you may not use this file except in compliance with the License. |
| 41 |
* You may obtain a copy of the License at |
| 42 |
* |
| 43 |
* http://www.apache.org/licenses/LICENSE-2.0 |
| 44 |
* |
| 45 |
* Unless required by applicable law or agreed to in writing, software |
| 46 |
* distributed under the License is distributed on an "AS IS" BASIS, |
| 47 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 48 |
* See the License for the specific language governing permissions and |
| 49 |
* limitations under the License. |
| 50 |
*/ |