Defines
civil_time_test.cc File Reference
#include "absl/time/civil_time.h"
#include <limits>
#include <sstream>
#include <type_traits>
#include "absl/base/macros.h"
#include "gtest/gtest.h"
Include dependency graph for civil_time_test.cc:

Go to the source code of this file.

Defines

#define TEST_RELATIONAL(OLDER, YOUNGER)

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