Macros
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.

Macros

#define TEST_RELATIONAL(OLDER, YOUNGER)
 

Macro Definition Documentation

◆ TEST_RELATIONAL

#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 Mon Feb 28 2022 21:31:21