test_divide_automatic_results.hpp 2.2 KB

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