Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
cxx_standard_test.cc File Reference

Checks that the tests are compiled with the C++ standard of the build. More...

#include <gtest/gtest.h>
Include dependency graph for cxx_standard_test.cc:

Go to the source code of this file.

Functions

 TEST (CxxStandard, TestsAreCompiledWithTheStandardOfTheBuild)
 

Detailed Description

Checks that the tests are compiled with the C++ standard of the build.

Tests/CMakeLists.txt used to force C++20, so that a build configured with ALEPH_CXX_STANDARD=23 compiled the library as C++23 and every test as C++20. ALEPH_EXPECTED_CXX_STANDARD is the standard of the library target, which Tests/CMakeLists.txt passes to this program.

Definition in file cxx_standard_test.cc.

Function Documentation

◆ TEST()

TEST ( CxxStandard  ,
TestsAreCompiledWithTheStandardOfTheBuild   
)

Definition at line 58 of file cxx_standard_test.cc.

References FAIL.