a35ab3e6e0
Many old pathops-related fuzz failures have built up while the codebase was under a state a flux. Now that the code is stable, address these failures. Most of the CL plumbs the debug global state to downstream routines so that, if the data is not trusted (ala fuzzed) the function can safely exit without asserting. TBR=reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2426173002 Review-Url: https://chromiumcodereview.appspot.com/2426173002
29 lines
878 B
C
29 lines
878 B
C
/*
|
|
* Copyright 2012 Google Inc.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
#include "PathOpsTestCommon.h"
|
|
|
|
extern const CubicPts pointDegenerates[];
|
|
extern const CubicPts notPointDegenerates[];
|
|
extern const CubicPts tests[][2];
|
|
extern CubicPts hexTests[][2];
|
|
|
|
extern const CubicPts lines[];
|
|
extern const CubicPts notLines[];
|
|
extern const CubicPts modEpsilonLines[];
|
|
extern const CubicPts lessEpsilonLines[];
|
|
extern const CubicPts negEpsilonLines[];
|
|
|
|
extern const size_t pointDegenerates_count;
|
|
extern const size_t notPointDegenerates_count;
|
|
extern const size_t tests_count;
|
|
extern const size_t hexTests_count;
|
|
extern const size_t lines_count;
|
|
extern const size_t notLines_count;
|
|
extern const size_t modEpsilonLines_count;
|
|
extern const size_t lessEpsilonLines_count;
|
|
extern const size_t negEpsilonLines_count;
|