14 #include <gtest/gtest.h> 16 #include "../../include/ecl/concepts/blueprints.hpp" 17 #include "../../include/ecl/concepts/containers.hpp" 18 #include "../../include/ecl/concepts/macros.hpp" 19 #include "../../include/ecl/concepts/streams.hpp" 48 class BluePrintCandidate {
50 typedef int base_type;
51 base_type instantiate();
52 void apply(base_type dude);
69 TEST(CompileTimeTests,macro) {
74 TEST(CompileTimeTests,stream) {
79 TEST(CompileTimeTests,blueprint) {
84 TEST(CompileTimeTests,container) {
93 int main(
int argc,
char **argv) {
95 testing::InitGoogleTest(&argc,argv);
96 return RUN_ALL_TESTS();
Embedded control libraries.
Defines validating functionality for the streams concept.
Frameworks created for the unit tests.
TEST(TypeTests, fundamentals)
#define ecl_compile_time_concept_check(Model)
Compile time concept checking assertion.
int main(int argc, char **argv)
Defines validating functionality for the dynamic container concept.
Defines validating functionality for the blueprint concept.
#define ecl_compile_time_concept_test(Model)
Convenient notational macro for setting up a concept testing function.