Lines Matching refs:minInt
60 long minInt = std::numeric_limits<int>::min();
62 long underflowInt = minInt - 1;
65 EXPECT_LT(underflowInt, minInt);
68 EXPECT_EQ(minInt, clampTo<int>(minInt));
71 EXPECT_EQ(minInt, clampTo<int>(underflowInt));
77 long long minInt = std::numeric_limits<int>::min();
79 long long underflowInt = minInt - 1;
82 EXPECT_LT(underflowInt, minInt);
85 EXPECT_EQ(minInt, clampTo<int>(minInt));
88 EXPECT_EQ(minInt, clampTo<int>(underflowInt));
97 float minInt = std::numeric_limits<int>::min();
99 float underflowInt = minInt * 1.1;
102 EXPECT_LT(underflowInt, minInt);
106 EXPECT_EQ(minInt, clampToInteger(minInt));
109 EXPECT_EQ(minInt, clampToInteger(underflowInt));
115 double minInt = std::numeric_limits<int>::min();
117 double underflowInt = minInt - 1;
120 EXPECT_LT(underflowInt, minInt);
123 EXPECT_EQ(minInt, clampToInteger(minInt));
126 EXPECT_EQ(clampToInteger(underflowInt), minInt);