| D | rand_util_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 29 TEST(RandUtilTest, RandInt) { in TEST() function 36 // the chances of this passing by accident are tiny (9e-13). in TEST() 41 TEST(RandUtilTest, RandDouble) { in TEST() function 42 // Force 64-bit precision, making sure we're not in a 80-bit FPU register. in TEST() 48 TEST(RandUtilTest, RandFloat) { in TEST() function 49 // Force 32-bit precision, making sure we're not in an 80-bit FPU register. in TEST() 55 TEST(RandUtilTest, RandTimeDelta) { in TEST() function 58 base::RandTimeDelta(-base::Seconds(2), -base::Seconds(1)); in TEST() 59 EXPECT_GE(delta, -base::Seconds(2)); in TEST() [all …]
|