From a35e410920ee65e1c44c48c23c5681ea94938b43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20KUBLER?= <gregoire.kubler@proton.me> Date: Wed, 26 Feb 2025 16:12:33 +0000 Subject: [PATCH] chore : cleanup test expand header cleanup removed "using namespace" in favor of "namespace{}" directive --- unit_tests/operator/Test_ExpandImpl.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/unit_tests/operator/Test_ExpandImpl.cpp b/unit_tests/operator/Test_ExpandImpl.cpp index 98661080..557faa53 100644 --- a/unit_tests/operator/Test_ExpandImpl.cpp +++ b/unit_tests/operator/Test_ExpandImpl.cpp @@ -20,19 +20,17 @@ #include <memory> #include "aidge/data/Tensor.hpp" -#include "aidge/filler/Filler.hpp" #include "aidge/operator/Expand.hpp" -#include "aidge/backend/cpu.hpp" -using std::shared_ptr; +namespace Aidge { -using namespace Aidge; +using std::shared_ptr; static void setupTestExpand(shared_ptr<Tensor> inputData, - shared_ptr<Tensor> inputShape, - shared_ptr<OperatorTensor> &op, - shared_ptr<Tensor> &expectedOutput) { + shared_ptr<Tensor> inputShape, + shared_ptr<OperatorTensor> &op, + shared_ptr<Tensor> &expectedOutput) { op->getOutput(0)->setDataType(inputData->dataType()); @@ -111,3 +109,4 @@ TEST_CASE("[cpu/operator] Expand(forward)", "[Expand][CPU]") { SECTION("N-Dim to N-Dim") {} auto inputData = std::shared_ptr<Tensor>(); } +} // namespace Aidge -- GitLab