chromium/third_party/blink/renderer/platform/scheduler/common/ukm_task_sampler_unittest.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/platform/scheduler/common/ukm_task_sampler.h"

#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/googletest/src/googlemock/include/gmock/gmock-matchers.h"

namespace blink {
namespace scheduler {

DoubleEq;

TEST(UkmTaskSamplerTest, SamplesAlwaysForProbabilityOne) {}

TEST(UkmTaskSamplerTest, NeverSamplesForProbabilityZero) {}

// Make sure that ukm_prob = ukm_prob_given_time * time_prob +
// ukm_prob_given_no_time * no_time_prob
TEST(UkmTaskSamplerTest, GetConditionalSamplingProbability) {}

TEST(UkmTaskSamplerTest, GetConditionalSamplingProbabilityWithEdgeCases) {}

}  // namespace scheduler
}  // namespace blink