diff options
author | telsoa01 <telmo.soares@arm.com> | 2018-08-31 09:22:23 +0100 |
---|---|---|
committer | telsoa01 <telmo.soares@arm.com> | 2018-08-31 09:22:23 +0100 |
commit | c577f2c6a3b4ddb6ba87a882723c53a248afbeba (patch) | |
tree | bd7d4c148df27f8be6649d313efb24f536b7cf34 /src/armnn/test/TensorTest.cpp | |
parent | 4c7098bfeab1ffe1cdc77f6c15548d3e73274746 (diff) | |
download | armnn-c577f2c6a3b4ddb6ba87a882723c53a248afbeba.tar.gz |
Release 18.08
Diffstat (limited to 'src/armnn/test/TensorTest.cpp')
-rw-r--r-- | src/armnn/test/TensorTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/armnn/test/TensorTest.cpp b/src/armnn/test/TensorTest.cpp index 2bb37f4fb8..8057d4dd7a 100644 --- a/src/armnn/test/TensorTest.cpp +++ b/src/armnn/test/TensorTest.cpp @@ -8,7 +8,7 @@ namespace armnn { -// Add unit test framework for interpreting TensorInfo type +// Adds unit test framework for interpreting TensorInfo type. std::ostream& boost_test_print_type(std::ostream& ostr, const TensorInfo& right) { ostr << "TensorInfo[ " @@ -115,7 +115,7 @@ BOOST_AUTO_TEST_CASE(TensorVsConstTensor) armnn::Tensor t(TensorInfo(), &mutableDatum); armnn::ConstTensor ct(TensorInfo(), &immutableDatum); - // Check that both Tensor and ConstTensor can be passed as a ConstTensor + // Checks that both Tensor and ConstTensor can be passed as a ConstTensor. CheckTensor(t); CheckTensor(ct); } @@ -136,9 +136,9 @@ BOOST_AUTO_TEST_CASE(ModifyTensorInfo) BOOST_AUTO_TEST_CASE(TensorShapeOperatorBrackets) { TensorShape shape({0,1,2,3}); - // Check version of operator[] which returns an unsigned int + // Checks version of operator[] which returns an unsigned int. BOOST_TEST(shape[2] == 2); - // Check the version of operator[] which returns a reference + // Checks the version of operator[] which returns a reference. shape[2] = 20; BOOST_TEST(shape[2] == 20); } |