Lines Matching refs:measurement
10 CXFA_Measurement measurement; in TEST() local
12 measurement.Set(0.1f, XFA_Unit::Percent); in TEST()
13 EXPECT_STREQ(L"0.1%", measurement.ToString().c_str()); in TEST()
14 measurement.Set(1.0f, XFA_Unit::Em); in TEST()
15 EXPECT_STREQ(L"1em", measurement.ToString().c_str()); in TEST()
16 measurement.Set(1.1f, XFA_Unit::Pt); in TEST()
17 EXPECT_STREQ(L"1.1pt", measurement.ToString().c_str()); in TEST()
18 measurement.Set(1.0000001f, XFA_Unit::In); in TEST()
19 EXPECT_STREQ(L"1.0000001in", measurement.ToString().c_str()); in TEST()
20 measurement.Set(1234.0f, XFA_Unit::Pc); in TEST()
21 EXPECT_STREQ(L"1234pc", measurement.ToString().c_str()); in TEST()
22 measurement.Set(987654321.0123456789f, XFA_Unit::Cm); in TEST()
23 EXPECT_STREQ(L"9.8765434e+08cm", measurement.ToString().c_str()); in TEST()
24 measurement.Set(0.0f, XFA_Unit::Mm); in TEST()
25 EXPECT_STREQ(L"0mm", measurement.ToString().c_str()); in TEST()
26 measurement.Set(-2.0f, XFA_Unit::Mp); in TEST()
27 EXPECT_STREQ(L"-2mp", measurement.ToString().c_str()); in TEST()