/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include #include #include #include namespace facebook::react { TEST(CSSNumberLength, number_length_values) { auto unitlessZeroValue = parseCSSProperty("0"); EXPECT_TRUE(std::holds_alternative(unitlessZeroValue)); EXPECT_EQ(std::get(unitlessZeroValue).value, 0.0f); } } // namespace facebook::react