Go to the source code of this file.
◆ DEF_TEST()
DEF_TEST |
( |
PathOpsLineUtilities |
, |
|
|
reporter |
|
|
) |
| |
Definition at line 29 of file PathOpsDLineTest.cpp.
29 {
30 for (
size_t index = 0; index <
tests_count; ++index) {
40 }
41}
static const SkDLine tests[]
static const size_t tests_count
bool ValidLine(const SkDLine &line)
bool approximately_equal(double x, double y)
#define REPORTER_ASSERT(r, cond,...)
const SkDLine & set(const SkPoint pts[2])
◆ tests
Initial value:= {
{{{2, 1}, {2, 1}}},
{{{2, 1}, {1, 1}}},
{{{2, 1}, {2, 2}}},
{{{1, 1}, {2, 2}}},
{{{3, 0}, {2, 1}}},
{{{3, 2}, {1, 1}}},
}
Definition at line 18 of file PathOpsDLineTest.cpp.
◆ tests_count
const size_t tests_count = std::size(tests) |
|
static |