Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/wtf/
DMathExtrasTest.cpp61 long overflowInt = maxInt + 1; in TEST() local
64 EXPECT_GT(overflowInt, maxInt); in TEST()
70 EXPECT_EQ(maxInt, clampTo<int>(overflowInt)); in TEST()
78 long long overflowInt = maxInt + 1; in TEST() local
81 EXPECT_GT(overflowInt, maxInt); in TEST()
87 EXPECT_EQ(maxInt, clampTo<int>(overflowInt)); in TEST()
98 float overflowInt = maxInt * 1.1; in TEST() local
101 EXPECT_GT(overflowInt, maxInt); in TEST()
108 EXPECT_NEAR(clampToInteger(overflowInt), maxInt, 1); in TEST()
116 double overflowInt = maxInt + 1; in TEST() local
[all …]