test_multiply_automatic_results.hpp 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #ifndef BOOST_SAFE_NUMERICS_TEST_MULTIPLY_AUTOMATIC_RESULTS_HPP
  2. #define BOOST_SAFE_NUMERICS_TEST_MULTIPLY_AUTOMATIC_RESULTS_HPP
  3. // Copyright (c) 2019 Robert Ramey
  4. //
  5. // Distributed under the Boost Software License, Version 1.0. (See
  6. // accompanying file LICENSE_1_0.txt or copy at
  7. // http://www.boost.org/LICENSE_1_0.txt)
  8. #include "test_values.hpp"
  9. constexpr const char *test_multiplication_automatic_result[
  10. boost::mp11::mp_size<test_values>::value
  11. ] = {
  12. // 0 0 0 0
  13. // 012345670123456701234567012345670
  14. // 012345678901234567890123456789012
  15. /* 0*/ "..............................xx.",
  16. /* 1*/ ".............xx..............xxx.",
  17. /* 2*/ ".............xx..............xxx.",
  18. /* 3*/ "..............x...............xx.",
  19. /* 4*/ "..............................xx.",
  20. /* 5*/ ".............xx..............xxx.",
  21. /* 6*/ ".............xx..............xxx.",
  22. /* 7*/ "..............x...............xx.",
  23. /* 8*/ "..............................xx.",
  24. /* 9*/ ".............xx..............xxx.",
  25. /*10*/ ".............xx..............xxx.",
  26. /*11*/ "..............x...............xx.",
  27. /*12*/ "..............................xx.",
  28. /*13*/ ".xx..xx..xx..xx..xxx.xxx.xxx.xxx.",
  29. /*14*/ ".xxx.xxx.xxx.xxx.xxx.xxx.xxx.xxx.",
  30. /*15*/ "..............x...............xx.",
  31. // 0 0 0 0
  32. // 012345670123456701234567012345670
  33. // 012345678901234567890123456789012
  34. /*16*/ ".................................",
  35. /*17*/ ".............xx..............xxx.",
  36. /*18*/ ".............xx..............xxx.",
  37. /*19*/ ".............xx..............xxx.",
  38. /*20*/ ".................................",
  39. /*21*/ ".............xx..............xxx.",
  40. /*22*/ ".............xx..............xxx.",
  41. /*23*/ ".............xx..............xxx.",
  42. /*24*/ ".................................",
  43. /*25*/ ".............xx..............xxx.",
  44. /*26*/ ".............xx..............xxx.",
  45. /*27*/ ".............xx..............xxx.",
  46. /*28*/ ".................................",
  47. /*29*/ ".xx..xx..xx..xx..xxx.xxx.xxx.xxx.",
  48. /*30*/ "xxxxxxxxxxxxxxxx.xxx.xxx.xxx.xxxx",
  49. /*31*/ "xxxxxxxxxxxxxxxx.xxx.xxx.xxx.xxxx",
  50. /*32*/ "..............................xx."
  51. };
  52. #endif // BOOST_SAFE_NUMERICS_TEST_MULTIPLY_AUTOMATIC_RESULTS_HPP