test_add_automatic_results.hpp 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #ifndef BOOST_SAFE_NUMERICS_TEST_ADD_AUTOMATIC_RESULTS_HPP
  2. #define BOOST_SAFE_NUMERICS_TEST_ADD_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_addition_automatic_result[
  10. boost::mp11::mp_size<test_values>::value
  11. ] = {
  12. // 0 0 0 0
  13. // 012345670123456701234567012345670
  14. // 012345678901234567890123456789012
  15. /* 0*/ ".............x...............xxx.",
  16. /* 1*/ ".............x...............xxx.",
  17. /* 2*/ "..............x...............xx.",
  18. /* 3*/ "..............x...............xx.",
  19. /* 4*/ ".............x...............xxx.",
  20. /* 5*/ ".............x...............xxx.",
  21. /* 6*/ "..............x...............xx.",
  22. /* 7*/ "..............x...............xx.",
  23. /* 8*/ ".............x...............xxx.",
  24. /* 9*/ ".............x...............xxx.",
  25. /*10*/ "..............x...............xx.",
  26. /*11*/ "..............x...............xx.",
  27. /*12*/ ".............x...............xxx.",
  28. /*13*/ "xx..xx..xx..xx..xxxxxxxxxxxxxxxx.",
  29. /*14*/ "..xx..xx..xx..xx..............xx.",
  30. /*15*/ "..............x...............xx.",
  31. // 0 0 0 0
  32. // 012345670123456701234567012345670
  33. // 012345678901234567890123456789012
  34. /*16*/ ".............x.................x.",
  35. /*17*/ ".............x.................x.",
  36. /*18*/ ".............x.................x.",
  37. /*19*/ ".............x.................x.",
  38. /*20*/ ".............x.................x.",
  39. /*21*/ ".............x.................x.",
  40. /*22*/ ".............x.................x.",
  41. /*23*/ ".............x.................x.",
  42. /*24*/ ".............x.................x.",
  43. /*25*/ ".............x.................x.",
  44. /*26*/ ".............x.................x.",
  45. /*27*/ ".............x.................x.",
  46. /*28*/ ".............x.................x.",
  47. /*29*/ "xx..xx..xx..xx.................x.",
  48. /*30*/ "xxxxxxxxxxxxxxxx..............xxx",
  49. /*31*/ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  50. /*32*/ "..............................xx."
  51. };
  52. #endif