| 1 |
/*************************************************************************************** |
| 2 |
* This file is dedicated to the public domain. If your jurisdiction requires a * |
| 3 |
* specific license: * |
| 4 |
* * |
| 5 |
* Copyright (c) Stephen McDowell, 2017-2024 * |
| 6 |
* License: CC0 1.0 Universal * |
| 7 |
* License Text: https://creativecommons.org/publicdomain/zero/1.0/legalcode * |
| 8 |
**************************************************************************************/ |
| 9 |
#include <catch2/catch.hpp> |
| 10 |
|
| 11 |
/* ================================================================================== */ |
| 12 |
|
| 13 |
#include <interface_alpha/alpha.hpp> |
| 14 |
TEST_CASE( "interface_alpha/alpha", "[cpp-dir-underscores]" ) { |
| 15 |
interface_alpha::Alpha alpha; |
| 16 |
REQUIRE( alpha.id() == "alpha" ); |
| 17 |
} |
| 18 |
|
| 19 |
/* ================================================================================== */ |
| 20 |
|
| 21 |
#include <interface_alpha/one_two_three/one_two_three.hpp> |
| 22 |
TEST_CASE( "interface_alpha/one_two_three", "[cpp-dir-underscores]") { |
| 23 |
interface_alpha::one_two_three::OneTwoThree ott; |
| 24 |
REQUIRE( ott.id() == "one_two_three" ); |
| 25 |
} |
| 26 |
|
| 27 |
/* ================================================================================== */ |
| 28 |
|
| 29 |
#include <interface_alpha/__four_five_six__/__four_five_six__.hpp> |
| 30 |
TEST_CASE( "interface_alpha/four_five_six", "[cpp-dir-underscores]") { |
| 31 |
interface_alpha::four_five_six::FourFiveSix ffs; |
| 32 |
REQUIRE( ffs.id() == "four_five_six" ); |
| 33 |
} |
| 34 |
|
| 35 |
/* ================================================================================== */ |
| 36 |
|
| 37 |
#include <interface_beta/beta.hpp> |
| 38 |
TEST_CASE( "interface_beta/beta", "[cpp-dir-underscores]") { |
| 39 |
interface_beta::Beta beta; |
| 40 |
REQUIRE( beta.id() == "beta" ); |
| 41 |
} |