• Alexander Alekhin's avatar
    ts: refactor OpenCV tests · 4a297a24
    Alexander Alekhin authored
    - removed tr1 usage (dropped in C++17)
    - moved includes of vector/map/iostream/limits into ts.hpp
    - require opencv_test + anonymous namespace (added compile check)
    - fixed norm() usage (must be from cvtest::norm for checks) and other conflict functions
    - added missing license headers
    4a297a24
test_intrin.fp16.cpp 520 Bytes
// This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
#include "test_precomp.hpp"
#include "test_intrin_utils.hpp"

namespace opencv_test { namespace hal {
CV_CPU_OPTIMIZATION_NAMESPACE_BEGIN

void test_hal_intrin_float16x4()
{
    TheTest<v_float16x4>()
        .test_loadstore_fp16()
        .test_float_cvt_fp16()
        ;
}

CV_CPU_OPTIMIZATION_NAMESPACE_END
}} // namespace