cppx-core
google-test-framework.hpp
Go to the documentation of this file.
1 #pragma once // Source encoding: UTF-8 with BOM (π is a lowercase Greek "pi").
2 #include <gtest/gtest.h>
3 
6 
7 namespace gtest = testing;
8 
9 #ifndef CPPX_NO_DOLLARS_PLEASE
10 # define $expect EXPECT_TRUE
11 # define $expect_eq EXPECT_EQ
12 # define $require ASSERT_TRUE
13 # define $require_eq ASSERT_EQ
14 # define $test_case TEST
15 #endif
$apply invokes the specified single-argument macro with each of the specified arguments.
$repeat(n, what) produces the what text n times.