Classes | Namespaces | Defines | Functions
civil_time_test.cc File Reference
#include "absl/time/internal/cctz/include/cctz/civil_time.h"
#include <iomanip>
#include <limits>
#include <sstream>
#include <string>
#include <type_traits>
#include "gtest/gtest.h"
Include dependency graph for internal/cctz/src/civil_time_test.cc:

Go to the source code of this file.

Classes

struct  absl::time_internal::cctz::HasDifference< T1, T2 >

Namespaces

namespace  absl
namespace  absl::time_internal
namespace  absl::time_internal::cctz

Defines

#define TEST_RELATIONAL(OLDER, YOUNGER)

Functions

 absl::time_internal::cctz::TEST (CivilTime, DefaultConstruction)
 absl::time_internal::cctz::TEST (CivilTime, StructMember)
 absl::time_internal::cctz::TEST (CivilTime, FieldsConstruction)
 absl::time_internal::cctz::TEST (CivilTime, FieldsConstructionLimits)
 absl::time_internal::cctz::TEST (CivilTime, ImplicitCrossAlignment)
 absl::time_internal::cctz::TEST (CivilTime, ExplicitCrossAlignment)
 absl::time_internal::cctz::TEST (CivilTime, DisallowCrossAlignedDifference)
 absl::time_internal::cctz::TEST (CivilTime, ValueSemantics)
 absl::time_internal::cctz::TEST (CivilTime, Relational)
 absl::time_internal::cctz::TEST (CivilTime, Arithmetic)
 absl::time_internal::cctz::TEST (CivilTime, ArithmeticLimits)
 absl::time_internal::cctz::TEST (CivilTime, ArithmeticDifference)
 absl::time_internal::cctz::TEST (CivilTime, DifferenceLimits)
 absl::time_internal::cctz::TEST (CivilTime, Properties)
 absl::time_internal::cctz::TEST (CivilTime, OutputStream)
 absl::time_internal::cctz::TEST (CivilTime, OutputStreamLeftFillWidth)
 absl::time_internal::cctz::TEST (CivilTime, NextPrevWeekday)
 absl::time_internal::cctz::TEST (CivilTime, NormalizeWithHugeYear)
 absl::time_internal::cctz::TEST (CivilTime, LeapYears)
 absl::time_internal::cctz::TEST (CivilTime, FirstThursdayInMonth)

Define Documentation

#define TEST_RELATIONAL (   OLDER,
  YOUNGER 
)
Value:
do {                                  \
    EXPECT_FALSE(OLDER < OLDER);        \
    EXPECT_FALSE(OLDER > OLDER);        \
    EXPECT_TRUE(OLDER >= OLDER);        \
    EXPECT_TRUE(OLDER <= OLDER);        \
    EXPECT_FALSE(YOUNGER < YOUNGER);    \
    EXPECT_FALSE(YOUNGER > YOUNGER);    \
    EXPECT_TRUE(YOUNGER >= YOUNGER);    \
    EXPECT_TRUE(YOUNGER <= YOUNGER);    \
    EXPECT_EQ(OLDER, OLDER);            \
    EXPECT_NE(OLDER, YOUNGER);          \
    EXPECT_LT(OLDER, YOUNGER);          \
    EXPECT_LE(OLDER, YOUNGER);          \
    EXPECT_GT(YOUNGER, OLDER);          \
    EXPECT_GE(YOUNGER, OLDER);          \
  } while (0)


abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:42:16