//===- llvm/unittest/Support/Chrono.cpp - Time utilities tests ------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "llvm/Support/Chrono.h" #include "llvm/Support/FormatVariadic.h" #include "gtest/gtest.h" usingnamespacellvm; usingnamespacellvm::sys; usingnamespacestd::chrono; namespace { TEST(Chrono, TimeTConversion) { … } TEST(Chrono, TimePointFormat) { … } // Test that toTimePoint and toTimeT can be called with a arguments with varying // precisions. TEST(Chrono, ImplicitConversions) { … } TEST(Chrono, DurationFormat) { … } } // anonymous namespace