diff options
author | Haavard <havardpe@yahoo-inc.com> | 2017-02-03 18:15:54 +0000 |
---|---|---|
committer | Haavard <havardpe@yahoo-inc.com> | 2017-02-03 18:16:48 +0000 |
commit | 604b545f86b7c8dd7ade8d96e785f80701f16c58 (patch) | |
tree | 159b4858f855b549769cbdac962e0820eeb7fb64 /eval/src/tests/tensor/tensor_slime_serialization | |
parent | 777726e51445f567809c1379d53e7da2bb6fa6db (diff) |
use new input/output model in slime
Diffstat (limited to 'eval/src/tests/tensor/tensor_slime_serialization')
-rw-r--r-- | eval/src/tests/tensor/tensor_slime_serialization/tensor_slime_serialization_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eval/src/tests/tensor/tensor_slime_serialization/tensor_slime_serialization_test.cpp b/eval/src/tests/tensor/tensor_slime_serialization/tensor_slime_serialization_test.cpp index 0a916ad871a..a6ef2f3fe5f 100644 --- a/eval/src/tests/tensor/tensor_slime_serialization/tensor_slime_serialization_test.cpp +++ b/eval/src/tests/tensor/tensor_slime_serialization/tensor_slime_serialization_test.cpp @@ -32,7 +32,7 @@ struct Fixture const TensorDimensions &rhsDimensions) { Tensor::UP rhsTensor(createTensor(rhs, rhsDimensions)); auto slime = SlimeBinaryFormat::serialize(*rhsTensor); - vespalib::slime::Memory memory_exp(exp); + vespalib::Memory memory_exp(exp); vespalib::Slime expSlime; size_t used = vespalib::slime::JsonFormat::decode(memory_exp, expSlime); EXPECT_EQUAL(used, memory_exp.size); @@ -132,7 +132,7 @@ struct DenseFixture const DenseTensorCells &rhs) { Tensor::UP rhsTensor(createTensor(rhs)); auto slime = SlimeBinaryFormat::serialize(*rhsTensor); - vespalib::slime::Memory memory_exp(exp); + vespalib::Memory memory_exp(exp); vespalib::Slime expSlime; size_t used = vespalib::slime::JsonFormat::decode(memory_exp, expSlime); EXPECT_EQUAL(used, memory_exp.size); |