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

Function TEST

tests/cpp/surface/virtual_dom_test.cpp:43–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41// =============================================================================
42
43TEST(LayoutInfo, DefaultConstructed_IsInvalid) {
44 LayoutInfo info;
45 EXPECT_FALSE(info.isValid());
46 EXPECT_FLOAT_EQ(info.x, 0.0f);
47 EXPECT_FLOAT_EQ(info.y, 0.0f);
48 EXPECT_FLOAT_EQ(info.width, 0.0f);
49 EXPECT_FLOAT_EQ(info.height, 0.0f);
50}
51
52TEST(LayoutInfo, WithPositiveWidth_IsValid) {
53 LayoutInfo info;

Callers

nothing calls this directly

Calls 4

emptyMethod · 0.80
stringifyMethod · 0.80
resetModeMethod · 0.80
isValidMethod · 0.45

Tested by

no test coverage detected