// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "device/vr/util/fps_meter.h" #include "testing/gtest/include/gtest/gtest.h" namespace device { namespace { static constexpr double kTolerance = …; base::TimeTicks MicrosecondsToTicks(uint64_t us) { … } } // namespace TEST(FPSMeter, GetFPSWithTooFewFrames) { … } TEST(FPSMeter, AccurateFPSWithManyFrames) { … } TEST(FPSMeter, AccurateFPSWithHigherFramerate) { … } } // namespace device