diff options
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/functions/tests/FN_multi_function_network_test.cc | 2 | ||||
-rw-r--r-- | source/blender/functions/tests/FN_multi_function_test.cc | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/functions/tests/FN_multi_function_network_test.cc b/source/blender/functions/tests/FN_multi_function_network_test.cc index 53290e9170c..f226e0eac2e 100644 --- a/source/blender/functions/tests/FN_multi_function_network_test.cc +++ b/source/blender/functions/tests/FN_multi_function_network_test.cc @@ -7,6 +7,7 @@ #include "FN_multi_function_network_evaluation.hh" namespace blender::fn::tests { +namespace { TEST(multi_function_network, Test1) { @@ -250,4 +251,5 @@ TEST(multi_function_network, Test2) } } +} // namespace } // namespace blender::fn::tests diff --git a/source/blender/functions/tests/FN_multi_function_test.cc b/source/blender/functions/tests/FN_multi_function_test.cc index 6acb6e22b01..cc023bce597 100644 --- a/source/blender/functions/tests/FN_multi_function_test.cc +++ b/source/blender/functions/tests/FN_multi_function_test.cc @@ -6,6 +6,7 @@ #include "FN_multi_function_builder.hh" namespace blender::fn::tests { +namespace { class AddFunction : public MultiFunction { public: @@ -125,7 +126,7 @@ TEST(multi_function, CreateRangeFunction) { CreateRangeFunction fn; - GVectorArray ranges(CPPType::get<int32_t>(), 5); + GVectorArray ranges(CPPType::get<uint>(), 5); GVectorArrayRef<uint> ranges_ref(ranges); Array<uint> sizes = {3, 0, 6, 1, 4}; @@ -382,4 +383,5 @@ TEST(multi_function, CustomMF_Convert) EXPECT_EQ(outputs[2], 9); } +} // namespace } // namespace blender::fn::tests |