Flutter Engine
The Flutter Engine
time_delta_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_delta.h"
6
7#include "gtest/gtest.h"
8
9namespace fml {
10namespace {
11
12TEST(TimeDelta, Control) {
13 EXPECT_LT(TimeDelta::Min(), TimeDelta::Zero());
14 EXPECT_GT(TimeDelta::Max(), TimeDelta::Zero());
15
18
20}
21
22} // namespace
23} // namespace fml
static constexpr TimeDelta FromSeconds(int64_t seconds)
Definition: time_delta.h:49
static constexpr TimeDelta FromMilliseconds(int64_t millis)
Definition: time_delta.h:46
static constexpr TimeDelta Min()
Definition: time_delta.h:34
static constexpr TimeDelta Max()
Definition: time_delta.h:37
static constexpr TimeDelta Zero()
Definition: time_delta.h:33
Definition: ascii_trie.cc:9
TEST(MallocMapping, EmptyContructor)