diff options
author | Anthony Barbier <anthony.barbier@arm.com> | 2018-02-21 15:57:15 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:47:40 +0000 |
commit | e4904c727933d8b6d79ec7a1fc3f371414a11a97 (patch) | |
tree | da8dab956f33bb6d2a85c5ffcb1ba156ef14bdce /tests/validation/UNIT/Utils.cpp | |
parent | 7ef90180584d2994ae43f222818e2bbd5288ffa4 (diff) | |
download | ComputeLibrary-e4904c727933d8b6d79ec7a1fc3f371414a11a97.tar.gz |
COMPMID-765: Cleaned up FIXMEs
- Removed FIXMEs from the scripts/ folder: the folder is automatically cleaned up by the release script
- Removed negative tests
Change-Id: Ia8c64456d8a6388b79b016088aa7f5509eaaf219
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/121658
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Diffstat (limited to 'tests/validation/UNIT/Utils.cpp')
-rw-r--r-- | tests/validation/UNIT/Utils.cpp | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/tests/validation/UNIT/Utils.cpp b/tests/validation/UNIT/Utils.cpp index b73edb1fb8..3980674170 100644 --- a/tests/validation/UNIT/Utils.cpp +++ b/tests/validation/UNIT/Utils.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -74,15 +74,6 @@ DATA_TEST_CASE(RoundFloatToNearestUp, framework::DatasetMode::ALL, zip(framework ARM_COMPUTE_EXPECT(round(value, RoundingPolicy::TO_NEAREST_UP) == result, framework::LogLevel::ERRORS); } -//FIXME: Negative tests only work in debug mode -#if 0 -DISABLED_DATA_TEST_CASE(Index2CoordFail, framework::DatasetMode::ALL, zip(framework::dataset::make("Shape", { TensorShape{}, TensorShape{ 2U }, TensorShape{ 2U } }), framework::dataset::make("Index", { 0, -1, 2 })), - shape, index) -{ - ARM_COMPUTE_ASSERT(index2coord(shape, index)); -} -#endif /* 0 */ - DATA_TEST_CASE(Coord2Index, framework::DatasetMode::ALL, zip(zip(framework::dataset::make("Shape", { TensorShape{ 1U }, TensorShape{ 2U }, TensorShape{ 2U, 3U } }), framework::dataset::make("Coordinates", { Coordinates{ 0 }, Coordinates{ 1 }, Coordinates{ 0, 1 } })), framework::dataset::make("Index", { 0, 1, 2 })), @@ -93,14 +84,5 @@ DATA_TEST_CASE(Coord2Index, framework::DatasetMode::ALL, zip(zip(framework::data ARM_COMPUTE_EXPECT(index == ref_index, framework::LogLevel::ERRORS); } -//FIXME: Negative tests only work in debug mode -#if 0 -DISABLED_DATA_TEST_CASE(Coord2IndexFail, framework::DatasetMode::ALL, zip(framework::dataset::make("Shape", { TensorShape{}, TensorShape{ 2U } }), framework::dataset::make("Coordinates", { Coordinates{ 0 }, Coordinates{} })), - shape, coordinate) -{ - ARM_COMPUTE_ASSERT(coord2index(shape, coordinate)); -} -#endif /* 0 */ - TEST_SUITE_END() TEST_SUITE_END() |