Go to the source code of this file.
◆ DEF_TEST()
Definition at line 30 of file PathOpsDPointTest.cpp.
30 {
31 for (
size_t index = 0; index <
tests_count; ++index) {
53 sqrt(pt.fX * pt.fX + pt.fY * pt.fY)));
54 }
55}
static const size_t tests_count
static const SkDPoint tests[]
bool ValidPoint(const SkDPoint &pt)
bool approximately_equal(double x, double y)
#define REPORTER_ASSERT(r, cond,...)
SIN Vec< N, float > sqrt(const Vec< N, float > &x)
◆ tests
Initial value:= {
{0, 0},
{1, 0},
{0, 1},
{2, 1},
{1, 2},
{1, 1},
{2, 2}
}
Definition at line 18 of file PathOpsDPointTest.cpp.
◆ tests_count
const size_t tests_count = std::size(tests) |
|
static |