Skip to content
Snippets Groups Projects
Commit a35e4109 authored by Grégoire Kubler's avatar Grégoire Kubler
Browse files

chore : cleanup test expand

header cleanup
removed "using namespace" in favor of "namespace{}" directive
parent f4703c0f
No related branches found
No related tags found
No related merge requests found
Pipeline #66482 failed
This commit is part of merge request !142. Comments created here will be created in the context of that merge request.
...@@ -20,19 +20,17 @@ ...@@ -20,19 +20,17 @@
#include <memory> #include <memory>
#include "aidge/data/Tensor.hpp" #include "aidge/data/Tensor.hpp"
#include "aidge/filler/Filler.hpp"
#include "aidge/operator/Expand.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, static void setupTestExpand(shared_ptr<Tensor> inputData,
shared_ptr<Tensor> inputShape, shared_ptr<Tensor> inputShape,
shared_ptr<OperatorTensor> &op, shared_ptr<OperatorTensor> &op,
shared_ptr<Tensor> &expectedOutput) { shared_ptr<Tensor> &expectedOutput) {
op->getOutput(0)->setDataType(inputData->dataType()); op->getOutput(0)->setDataType(inputData->dataType());
...@@ -111,3 +109,4 @@ TEST_CASE("[cpu/operator] Expand(forward)", "[Expand][CPU]") { ...@@ -111,3 +109,4 @@ TEST_CASE("[cpu/operator] Expand(forward)", "[Expand][CPU]") {
SECTION("N-Dim to N-Dim") {} SECTION("N-Dim to N-Dim") {}
auto inputData = std::shared_ptr<Tensor>(); auto inputData = std::shared_ptr<Tensor>();
} }
} // namespace Aidge
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment