diff options
Diffstat (limited to 'eval/src/tests/tensor/dense_dot_product_function/dense_dot_product_function_test.cpp')
-rw-r--r-- | eval/src/tests/tensor/dense_dot_product_function/dense_dot_product_function_test.cpp | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/eval/src/tests/tensor/dense_dot_product_function/dense_dot_product_function_test.cpp b/eval/src/tests/tensor/dense_dot_product_function/dense_dot_product_function_test.cpp index 8b7ea1d03a9..3b16c9e3026 100644 --- a/eval/src/tests/tensor/dense_dot_product_function/dense_dot_product_function_test.cpp +++ b/eval/src/tests/tensor/dense_dot_product_function/dense_dot_product_function_test.cpp @@ -90,11 +90,8 @@ struct Fixture { DenseDotProductFunction function; FunctionInput input; - Fixture(size_t lhsNumCells, size_t rhsNumCells) - : function(0, 1), - input(lhsNumCells, rhsNumCells) - { - } + Fixture(size_t lhsNumCells, size_t rhsNumCells); + ~Fixture(); double eval() const { Stash stash; const Value &result = function.eval(input, stash); @@ -107,6 +104,13 @@ struct Fixture } }; +Fixture::Fixture(size_t lhsNumCells, size_t rhsNumCells) + : function(0, 1), + input(lhsNumCells, rhsNumCells) +{ } + +Fixture::~Fixture() { } + void assertDotProduct(size_t numCells) { |