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