Home
last modified time | relevance | path

Searched refs:o2 (Results 1 – 1 of 1) sorted by relevance

/system/teeui/test/
Dteeui_test.cpp130 auto o2 = o.intersect<10>({.0, .0}, {1.0, 1.0}); in TEST() local
131 ASSERT_TRUE(o2); in TEST()
132 ASSERT_EQ(size_t(3), o2->size()); in TEST()
133 ASSERT_EQ(pxs(.5), o2->area()); in TEST()
136 o2 = o.intersect<10>({1.0, 1.0}, {.0, .0}); in TEST()
137 ASSERT_TRUE(o2); in TEST()
138 ASSERT_EQ(size_t(3), o2->size()); in TEST()
139 ASSERT_EQ(pxs(.5), o2->area()); in TEST()
142 o2 = o.intersect<10>({.0, 2.0}, {2.0, .0}); in TEST()
143 ASSERT_FALSE(o2); in TEST()
[all …]