diff --git a/develop/manuals/meta_manuals/class_manual.cpp b/develop/manuals/meta_manuals/class_manual.cpp index ac6afd6..ea213b9 100644 --- a/develop/manuals/meta_manuals/class_manual.cpp +++ b/develop/manuals/meta_manuals/class_manual.cpp @@ -42,7 +42,7 @@ namespace }; } -TEST_CASE("meta/meta_examples/class/type") { +TEST_CASE("meta/meta_manuals/class/type") { namespace meta = meta_hpp; // 'shape' class type registration @@ -67,7 +67,7 @@ TEST_CASE("meta/meta_examples/class/type") { } } -TEST_CASE("meta/meta_examples/class/usage") { +TEST_CASE("meta/meta_manuals/class/usage") { namespace meta = meta_hpp; // resolves a class type by static class type diff --git a/develop/manuals/meta_manuals/enum_manual.cpp b/develop/manuals/meta_manuals/enum_manual.cpp index 983bbe1..69125a6 100644 --- a/develop/manuals/meta_manuals/enum_manual.cpp +++ b/develop/manuals/meta_manuals/enum_manual.cpp @@ -17,7 +17,7 @@ namespace }; } -TEST_CASE("meta/meta_examples/enum/type") { +TEST_CASE("meta/meta_manuals/enum/type") { namespace meta = meta_hpp; // 'align' enumeration type registration @@ -43,7 +43,7 @@ TEST_CASE("meta/meta_examples/enum/type") { } } -TEST_CASE("meta/meta_examples/enum/usage") { +TEST_CASE("meta/meta_manuals/enum/usage") { namespace meta = meta_hpp; const align e = align::center; diff --git a/develop/manuals/meta_manuals/function_manual.cpp b/develop/manuals/meta_manuals/function_manual.cpp index a3efa2b..e838c37 100644 --- a/develop/manuals/meta_manuals/function_manual.cpp +++ b/develop/manuals/meta_manuals/function_manual.cpp @@ -19,7 +19,7 @@ namespace } } -TEST_CASE("meta/meta_examples/function/type") { +TEST_CASE("meta/meta_manuals/function/type") { namespace meta = meta_hpp; // resolves a function type by pointer @@ -39,7 +39,7 @@ TEST_CASE("meta/meta_examples/function/type") { CHECK(add_function_type.get_argument_type(1) == meta::resolve_type()); } -TEST_CASE("meta/meta_examples/function/usage") { +TEST_CASE("meta/meta_manuals/function/usage") { namespace meta = meta_hpp; // 'math' local scope declaration diff --git a/develop/manuals/meta_manuals/inplace_manual.cpp b/develop/manuals/meta_manuals/inplace_manual.cpp index c79eca4..8f23e53 100644 --- a/develop/manuals/meta_manuals/inplace_manual.cpp +++ b/develop/manuals/meta_manuals/inplace_manual.cpp @@ -21,7 +21,7 @@ namespace }; } -TEST_CASE("meta/meta_examples/inplace") { +TEST_CASE("meta/meta_manuals/inplace") { namespace meta = meta_hpp; // 'ivec2' class type registration diff --git a/develop/manuals/meta_manuals/member_manual.cpp b/develop/manuals/meta_manuals/member_manual.cpp index 8d991cf..ab3daf1 100644 --- a/develop/manuals/meta_manuals/member_manual.cpp +++ b/develop/manuals/meta_manuals/member_manual.cpp @@ -14,7 +14,7 @@ namespace }; } -TEST_CASE("meta/meta_examples/member/type") { +TEST_CASE("meta/meta_manuals/member/type") { namespace meta = meta_hpp; // 'ivec2' class type registration @@ -35,7 +35,7 @@ TEST_CASE("meta/meta_examples/member/type") { CHECK(x_member_type.get_value_type() == meta::resolve_type()); } -TEST_CASE("meta/meta_examples/member/usage") { +TEST_CASE("meta/meta_manuals/member/usage") { namespace meta = meta_hpp; ivec2 v{42, 21}; diff --git a/develop/manuals/meta_manuals/method_manual.cpp b/develop/manuals/meta_manuals/method_manual.cpp index 6150d17..c9e4842 100644 --- a/develop/manuals/meta_manuals/method_manual.cpp +++ b/develop/manuals/meta_manuals/method_manual.cpp @@ -24,7 +24,7 @@ namespace }; } -TEST_CASE("meta/meta_examples/method/type") { +TEST_CASE("meta/meta_manuals/method/type") { namespace meta = meta_hpp; // 'ivec2' class type registration @@ -50,7 +50,7 @@ TEST_CASE("meta/meta_examples/method/type") { CHECK(add_method_type.get_argument_type(0) == meta::resolve_type()); } -TEST_CASE("meta/meta_examples/method/usage") { +TEST_CASE("meta/meta_manuals/method/usage") { namespace meta = meta_hpp; ivec2 v{20, 10}; diff --git a/develop/manuals/meta_manuals/scopes_manual.cpp b/develop/manuals/meta_manuals/scopes_manual.cpp index 5ab51b7..2b076ff 100644 --- a/develop/manuals/meta_manuals/scopes_manual.cpp +++ b/develop/manuals/meta_manuals/scopes_manual.cpp @@ -46,7 +46,7 @@ namespace } } -TEST_CASE("meta/meta_examples/scopes/local") { +TEST_CASE("meta/meta_manuals/scopes/local") { namespace meta = meta_hpp; // creates new local scope @@ -86,18 +86,18 @@ TEST_CASE("meta/meta_examples/scopes/local") { CHECK(dot3_function(unit3_variable.get(), unit3_variable.get()).get_as() == 3); } -TEST_CASE("meta/meta_examples/scopes/global") { +TEST_CASE("meta/meta_manuals/scopes/global") { namespace meta = meta_hpp; // also, we can create global scopes - meta::static_scope_("meta/meta_examples/scopes/global/math") + meta::static_scope_("meta/meta_manuals/scopes/global/math") .function_("dot2", &dot2) .function_("dot3", &dot3) .variable_("unit2", &unit2) .variable_("unit3", &unit3); // finds our global scope by name - const meta::scope math_scope = meta::resolve_scope("meta/meta_examples/scopes/global/math"); + const meta::scope math_scope = meta::resolve_scope("meta/meta_manuals/scopes/global/math"); // and uses it in the same way const meta::function dot2_function = math_scope.get_function("dot2"); diff --git a/develop/manuals/meta_manuals/uvalue_manual.cpp b/develop/manuals/meta_manuals/uvalue_manual.cpp index e7fe932..e4e80c5 100644 --- a/develop/manuals/meta_manuals/uvalue_manual.cpp +++ b/develop/manuals/meta_manuals/uvalue_manual.cpp @@ -40,7 +40,7 @@ namespace }; } -TEST_CASE("meta/meta_examples/uvalue") { +TEST_CASE("meta/meta_manuals/uvalue") { namespace meta = meta_hpp; // 'shape' class type registration @@ -55,7 +55,7 @@ TEST_CASE("meta/meta_examples/uvalue") { .method_("get_height", &rectangle::get_height); } -TEST_CASE("meta/meta_examples/uvalue/usage") { +TEST_CASE("meta/meta_manuals/uvalue/usage") { namespace meta = meta_hpp; // the 'uvalue' class allows to store any copyable value inside diff --git a/develop/manuals/meta_manuals/variable_manual.cpp b/develop/manuals/meta_manuals/variable_manual.cpp index 12988a8..44ad519 100644 --- a/develop/manuals/meta_manuals/variable_manual.cpp +++ b/develop/manuals/meta_manuals/variable_manual.cpp @@ -14,7 +14,7 @@ namespace const double sqrt2_v{1.4142135624}; } -TEST_CASE("meta/meta_examples/variable/usage") { +TEST_CASE("meta/meta_manuals/variable/usage") { namespace meta = meta_hpp; // 'constants' local scope declaration