Home
last modified time | relevance | path

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

/dports/www/chromium-legacy/chromium-88.0.4324.182/remoting/base/
H A Drunning_samples_unittest.cc16 static const int64_t kTestValues[] = { 10, 20, 30, 10, 25, 16, 15 }; variable
25 for (size_t i = 0; i < base::size(kTestValues); ++i) { in TestFramework()
26 samples.Record(kTestValues[i]); in TestFramework()
41 double expected = kTestValues[i]; in TEST()
43 expected = (expected + kTestValues[i-1]) / 2; in TEST()
51 TestFramework(base::size(kTestValues) + 1, in TEST()
55 expected += kTestValues[j]; in TEST()
65 EXPECT_EQ(static_cast<double>(kTestValues[i]), samples.Max()); in TEST()
72 double expected = kTestValues[i]; in TEST()
74 expected = expected > kTestValues[i-1] ? expected : kTestValues[i-1]; in TEST()
[all …]
H A Drate_counter_unittest.cc25 for (size_t i = 0; i < base::size(kTestValues); ++i) { in TEST()
27 rate_counter.Record(kTestValues[i]); in TEST()
41 for (size_t i = 0; i < base::size(kTestValues); ++i) { in TEST()
42 rate_counter.Record(kTestValues[i]); in TEST()
43 expected += kTestValues[i]; in TEST()
59 for (size_t i = 0; i < base::size(kTestValues); ++i) { in TEST()
61 rate_counter.Record(kTestValues[i]); in TEST()
62 double expected = kTestValues[i]; in TEST()
64 expected += kTestValues[i-1]; in TEST()
84 rate_counter.Record(kTestValues[i]); in TEST()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/sync/base/
H A Dnode_ordinal_unittest.cc20 const int64_t kTestValues[] = {0LL, variable
62 const size_t kNumTestValues = base::size(kTestValues);
68 const NodeOrdinal ordinal = Int64ToNodeOrdinal(kTestValues[i]); in TEST()
82 if (kTestValues[i] == std::numeric_limits<int64_t>::min()) { in TEST()
85 const NodeOrdinal ordinal = Int64ToNodeOrdinal(kTestValues[i]); in TEST()
94 const int64_t expected_value = kTestValues[i]; in TEST()
124 ordinals[i] = Int64ToNodeOrdinal(kTestValues[i]); in TEST()
129 IndexedLessThan<int64_t>(kTestValues)); in TEST()
H A Dunique_position_unittest.cc506 static const int64_t kTestValues[]; member in syncer::__anonf343176e0111::PositionFromIntTest
515 const int64_t PositionFromIntTest::kTestValues[] = {0LL, member in syncer::__anonf343176e0111::PositionFromIntTest
558 base::size(PositionFromIntTest::kTestValues);
563 UniquePosition::FromInt64(kTestValues[i], NextSuffix()); in TEST_F()
570 const int64_t expected_value = kTestValues[i]; in TEST_F()
572 UniquePosition::FromInt64(kTestValues[i], NextSuffix()); in TEST_F()
598 positions[i] = UniquePosition::FromInt64(kTestValues[i], NextSuffix()); in TEST_F()
603 IndexedLessThan<int64_t>(kTestValues)); in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/webrtc/rtc_base/numerics/
H A Dhistogram_percentile_counter_unittest.cc21 const std::vector<int> kTestValues = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, in TEST() local
30 for (int value : kTestValues) { in TEST()
/dports/net-im/tg_owt/tg_owt-d578c76/src/rtc_base/numerics/
H A Dhistogram_percentile_counter_unittest.cc21 const std::vector<int> kTestValues = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, in TEST() local
30 for (int value : kTestValues) { in TEST()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webrtc/rtc_base/numerics/
H A Dhistogram_percentile_counter_unittest.cc21 const std::vector<int> kTestValues = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, in TEST() local
30 for (int value : kTestValues) { in TEST()
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/rtc_base/numerics/
H A Dhistogram_percentile_counter_unittest.cc21 const std::vector<int> kTestValues = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, in TEST() local
30 for (int value : kTestValues) { in TEST()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/libwebrtc/webrtc/rtc_base/numerics/
H A Dhistogram_percentile_counter_unittest.cc20 const std::vector<int> kTestValues = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, in TEST() local
29 for (int value : kTestValues) { in TEST()
/dports/www/firefox-esr/firefox-91.8.0/third_party/libwebrtc/webrtc/rtc_base/numerics/
H A Dhistogram_percentile_counter_unittest.cc20 const std::vector<int> kTestValues = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, in TEST() local
29 for (int value : kTestValues) { in TEST()
/dports/lang/spidermonkey78/firefox-78.9.0/media/webrtc/trunk/webrtc/rtc_base/numerics/
H A Dhistogram_percentile_counter_unittest.cc20 const std::vector<int> kTestValues = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, in TEST() local
29 for (int value : kTestValues) { in TEST()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/app_list/search/search_result_ranker/
H A Dhistogram_util_unittest.cc111 constexpr std::tuple<float, float, float, int> kTestValues[] = { variable
121 testing::ValuesIn(kTestValues));
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/cookies/
H A Dcookie_constants_unittest.cc71 const TestData kTestValues[] = { in TEST() local
96 for (const auto& value : kTestValues) { in TEST()