1 // Copyright 2023 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "components/power_metrics/energy_metrics_provider.h"
7 #include "testing/gtest/include/gtest/gtest.h"
9 namespace power_metrics {
11 TEST(EnergyMetricsProviderTest, CaptureMetrics) {
12 auto provider = EnergyMetricsProvider::Create();
14 provider->CaptureMetrics();
18 } // namespace power_metrics