f49e434238
improved CMake implementation for testing and development
61 lines
2.2 KiB
C++
61 lines
2.2 KiB
C++
#ifndef BOOST_SAFE_NUMERICS_TEST_LEFT_SHIFT_NATIVE_RESULTS_HPP
|
|
#define BOOST_SAFE_NUMERICS_TEST_LEFT_SHIFT_NATIVE_RESULTS_HPP
|
|
|
|
// Copyright (c) 2019 Robert Ramey
|
|
//
|
|
// Distributed under the Boost Software License, Version 1.0. (See
|
|
// accompanying file LICENSE_1_0.txt or copy at
|
|
// http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
#include "test_values.hpp"
|
|
|
|
constexpr const char *test_left_shift_native_result[
|
|
boost::mp11::mp_size<test_values>::value
|
|
] = {
|
|
// 0 0 0 0
|
|
// 012345670123456701234567012345670
|
|
// 012345678901234567890123456789012
|
|
/* 0*/ ".xxx.xxx.xxx.xxx.xxx.xxx.xxx.xxx.",
|
|
/* 1*/ ".xxx.xxx.xxx.xxx.xxx.xxx.xxx.xxx.",
|
|
/* 2*/ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.",
|
|
/* 3*/ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.",
|
|
/* 4*/ ".xxx.xxx.xxx.xxx.xxx.xxx.xxx.xxx.",
|
|
/* 5*/ ".xxx.xxx.xxx.xxx.xxx.xxx.xxx.xxx.",
|
|
/* 6*/ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.",
|
|
/* 7*/ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.",
|
|
|
|
/* 8*/ ".xxx.xxx.xxx.xxx.xxx.xxx.xxx.xxx.",
|
|
/* 9*/ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.",
|
|
/*10*/ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.",
|
|
/*11*/ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.",
|
|
/*12*/ ".xxx.xxx.xxx.xxx.xxx.xxx.xxx.xxx.",
|
|
/*13*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