Home
last modified time | relevance | path

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

/external/webrtc/api/units/
Dtimestamp_unittest.cc101 const int64_t kMicros = 17017; in TEST() local
102 const double kMicrosDouble = kMicros; in TEST()
103 const double kMillisDouble = kMicros * 1e-3; in TEST()
106 EXPECT_EQ(Timestamp::Micros(kMicros).seconds<double>(), kSecondsDouble); in TEST()
107 EXPECT_EQ(Timestamp::Seconds(kSecondsDouble).us(), kMicros); in TEST()
109 EXPECT_EQ(Timestamp::Micros(kMicros).ms<double>(), kMillisDouble); in TEST()
110 EXPECT_EQ(Timestamp::Millis(kMillisDouble).us(), kMicros); in TEST()
112 EXPECT_EQ(Timestamp::Micros(kMicros).us<double>(), kMicrosDouble); in TEST()
113 EXPECT_EQ(Timestamp::Micros(kMicrosDouble).us(), kMicros); in TEST()
Dtime_delta_unittest.cc141 const int64_t kMicros = 17017; in TEST() local
142 const double kNanosDouble = kMicros * 1e3; in TEST()
143 const double kMicrosDouble = kMicros; in TEST()
144 const double kMillisDouble = kMicros * 1e-3; in TEST()
147 EXPECT_EQ(TimeDelta::Micros(kMicros).seconds<double>(), kSecondsDouble); in TEST()
148 EXPECT_EQ(TimeDelta::Seconds(kSecondsDouble).us(), kMicros); in TEST()
150 EXPECT_EQ(TimeDelta::Micros(kMicros).ms<double>(), kMillisDouble); in TEST()
151 EXPECT_EQ(TimeDelta::Millis(kMillisDouble).us(), kMicros); in TEST()
153 EXPECT_EQ(TimeDelta::Micros(kMicros).us<double>(), kMicrosDouble); in TEST()
154 EXPECT_EQ(TimeDelta::Micros(kMicrosDouble).us(), kMicros); in TEST()
[all …]