Flutter Engine
time_point_unittest.cc
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "flutter/fml/time/time_point.h"
6 
7 #include "gtest/gtest.h"
8 
9 namespace fml {
10 namespace {
11 
12 TEST(TimePoint, Control) {
13  EXPECT_LT(TimePoint::Min(), TimePoint::Now());
14  EXPECT_GT(TimePoint::Max(), TimePoint::Now());
15 }
16 
17 } // namespace
18 } // namespace fml
static constexpr TimePoint Min()
Definition: time_point.h:28
Definition: ascii_trie.cc:9
static constexpr TimePoint Max()
Definition: time_point.h:32
TEST(MessageTest, CanEncodeTriviallyCopyableTypes)
static TimePoint Now()
Definition: time_point.cc:26