[Yoga] update unit tests

- all unit tests passed
This commit is contained in:
vvveiii
2020-08-15 17:55:00 +08:00
parent cc80a01488
commit b7cc9f9dac
12 changed files with 60 additions and 60 deletions

View File

@@ -11,9 +11,9 @@
static YGSize _measureMax(
YGNodeRef node,
float width,
YGFloat width,
YGMeasureMode widthMode,
float height,
YGFloat height,
YGMeasureMode heightMode) {
int* measureCount = (int*) node->getContext();
(*measureCount)++;
@@ -26,9 +26,9 @@ static YGSize _measureMax(
static YGSize _measureMin(
YGNodeRef node,
float width,
YGFloat width,
YGMeasureMode widthMode,
float height,
YGFloat height,
YGMeasureMode heightMode) {
int* measureCount = (int*) node->getContext();
*measureCount = *measureCount + 1;
@@ -46,9 +46,9 @@ static YGSize _measureMin(
static YGSize _measure_84_49(
YGNodeRef node,
float width,
YGFloat width,
YGMeasureMode widthMode,
float height,
YGFloat height,
YGMeasureMode heightMode) {
int* measureCount = (int*) node->getContext();
if (measureCount) {