diff --git a/tests/YGMeasureModeTest.cpp b/tests/YGMeasureModeTest.cpp index 730247fa..cd5aedba 100644 --- a/tests/YGMeasureModeTest.cpp +++ b/tests/YGMeasureModeTest.cpp @@ -283,7 +283,7 @@ TEST(YogaTest, overflow_scroll_column) { ASSERT_FLOAT_EQ(100, constraintList.constraints[0].width); ASSERT_EQ(YGMeasureModeAtMost, constraintList.constraints[0].widthMode); - ASSERT_TRUE(YGValueIsUndefined(constraintList.constraints[0].height)); + ASSERT_TRUE(YGFloatIsUndefined(constraintList.constraints[0].height)); ASSERT_EQ(YGMeasureModeUndefined, constraintList.constraints[0].heightMode); free(constraintList.constraints); @@ -312,7 +312,7 @@ TEST(YogaTest, overflow_scroll_row) { ASSERT_EQ(1, constraintList.length); - ASSERT_TRUE(YGValueIsUndefined(constraintList.constraints[0].width)); + ASSERT_TRUE(YGFloatIsUndefined(constraintList.constraints[0].width)); ASSERT_EQ(YGMeasureModeUndefined, constraintList.constraints[0].widthMode); ASSERT_FLOAT_EQ(100, constraintList.constraints[0].height); diff --git a/tests/YGStyleTest.cpp b/tests/YGStyleTest.cpp index 4eb7fd60..65747337 100644 --- a/tests/YGStyleTest.cpp +++ b/tests/YGStyleTest.cpp @@ -26,7 +26,7 @@ TEST(YogaTest, copy_style_modified) { const YGNodeRef node0 = YGNodeNew(); ASSERT_FALSE(YGNodeIsDirty(node0)); ASSERT_EQ(YGFlexDirectionColumn, YGNodeStyleGetFlexDirection(node0)); - ASSERT_TRUE(YGValueIsUndefined(YGNodeStyleGetMaxHeight(node0))); + ASSERT_TRUE(YGFloatIsUndefined(YGNodeStyleGetMaxHeight(node0))); const YGNodeRef node1 = YGNodeNew(); YGNodeStyleSetFlexDirection(node1, YGFlexDirectionRow);