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

Function TEST

tests/cpp/style_parser/edge_insets_parser_test.cpp:33–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31// ============================================================================
32
33TEST(EdgeInsetsParser, SingleValue_Px) {
34 EdgeInsets r;
35 ASSERT_TRUE(EdgeInsetsParser::parse("10px", r));
36 expectPx(r.top, 10.0f);
37 expectPx(r.right, 10.0f);
38 expectPx(r.bottom, 10.0f);
39 expectPx(r.left, 10.0f);
40}
41
42TEST(EdgeInsetsParser, SingleValue_Unitless) {
43 EdgeInsets r;

Callers

nothing calls this directly

Calls 4

expectPxFunction · 0.85
expectPercentFunction · 0.85
expectAutoFunction · 0.85
emptyMethod · 0.80

Tested by

no test coverage detected