NNXSW-1826 Move tests for Optimization classes to separate files
authorRob Hughes <robert.hughes@arm.com>
Tue, 24 Sep 2019 08:34:53 +0000 (09:34 +0100)
committerJim Flynn Arm <jim.flynn@arm.com>
Wed, 25 Sep 2019 02:44:48 +0000 (02:44 +0000)
commit95e73d77b9a79f7d350a39d85f07d09cd58422cc
tree8b713e8d29d433a28b29b8a9ce34052e8cccd08c
parent4833cea9036df428634cf64d8f1c4b54fc5da41f
NNXSW-1826 Move tests for Optimization classes to separate files

This splits up the >1000 line OptimizerTests.cpp file.

Each Optimization class now has its own test file, all of which are in a
subfolder of tests called "optimizations".

The original OptimizerTests.cpp now contains mostly (completely?) tests
for validating output shapes, which perhaps should be moved to
test files specific to the layer types they are testing.

Change-Id: Icd1196cad8b720abcb156921aab1adbd4026756b
Signed-off-by: Rob Hughes <robert.hughes@arm.com>
13 files changed:
CMakeLists.txt
src/armnn/test/OptimizerTests.cpp
src/armnn/test/TestUtils.hpp
src/armnn/test/optimizations/ConvertConstantsFloatToHalfTests.cpp [new file with mode: 0644]
src/armnn/test/optimizations/ConvertConstantsHalfToFloatTests.cpp [new file with mode: 0644]
src/armnn/test/optimizations/Fp32NetworkToFp16ConverterTests.cpp [new file with mode: 0644]
src/armnn/test/optimizations/InsertDebugLayerTests.cpp [new file with mode: 0644]
src/armnn/test/optimizations/MovePermuteUpTests.cpp [new file with mode: 0644]
src/armnn/test/optimizations/OptimizeConsecutiveReshapesTests.cpp [new file with mode: 0644]
src/armnn/test/optimizations/OptimizeInverseConversionsTests.cpp [new file with mode: 0644]
src/armnn/test/optimizations/OptimizeInversePermutesTests.cpp [new file with mode: 0644]
src/armnn/test/optimizations/PermuteAsReshapeTests.cpp [new file with mode: 0644]
src/armnn/test/optimizations/SquashEqualSiblingsTests.cpp [new file with mode: 0644]