MCPcopy Create free account
hub / github.com/AGenUI/AGenUI / TEST

Function TEST

tests/cpp/surface/yoga_internal_parse_test.cpp:11–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9// ============================================================================
10
11TEST(YogaInternalParse, CssFloat_IntegerPixel) {
12 bool ok = false;
13 float v = parseCssFloat("8px", &ok);
14 EXPECT_TRUE(ok);
15 EXPECT_FLOAT_EQ(v, 8.0f);
16}
17
18TEST(YogaInternalParse, CssFloat_DecimalPixel) {
19 bool ok = false;

Callers

nothing calls this directly

Calls 2

parsePercentFunction · 0.85
parseCssFloatFunction · 0.50

Tested by

no test coverage detected