safe_numerics/test/test_compare_native.hpp
Robert Ramey f49e434238 Add tests for constexpr
improved CMake implementation for testing and development
2019-01-10 11:54:18 -08:00

49 lines
1.8 KiB
C++

#include "test_values.hpp"
constexpr const char *test_compare_native_result[
boost::mp11::mp_size<test_values>::value
] = {
// 0 0 0 0
// 012345670123456701234567012345670
// 012345678901234567890123456789012
/* 0*/ "=<>>=<>>=<>>=<>>=<<<=<<<=<<<=<<<>",
/* 1*/ ">=>>><>>><>>><>>>=<<><<<><<<><<<>",
/* 2*/ "<<=<<<><<<><<<><<<<<<<<<xxxxxxxx<",
/* 3*/ "<<>=<<>=<<>=<<>=<<<<<<<<xxxxxxxx<",
/* 4*/ "=<>>=<>>=<>>=<>>=<<<=<<<=<<<=<<<>",
/* 5*/ ">>>>>=>>><>>><>>>>>>>=<<><<<><<<>",
/* 6*/ "<<<<<<=<<<><<<><<<<<<<<<xxxxxxxx<",
/* 7*/ "<<>=<<>=<<>=<<>=<<<<<<<<xxxxxxxx<",
/* 8*/ "=<>>=<>>=<>>=<>>=<<<=<<<=<<<=<<<>",
/* 9*/ ">>>>>>>>>=>>><>>>>>>>>>>>=<<><<<>",
/*10*/ "<<<<<<<<<<=<<<><<<<<<<<<xxxxxxxx<",
/*11*/ "<<>=<<>=<<>=<<>=<<<<<<<<xxxxxxxx<",
/*12*/ "=<>>=<>>=<>>=<>>=<<<=<<<=<<<=<<<>",
/*13*/ ">>>>>>>>>>>>>=>>>>>>>>>>>>>>>=<<>",
/*14*/ "<<<<<<<<<<<<<<=<<<<<<<<<<<<<xxxx<",
/*15*/ "<<>=<<>=<<>=<<>=<<<<<<<<<<<<xxxx<",
// 0 0 0 0
// 012345670123456701234567012345670
// 012345678901234567890123456789012
/*16*/ "=<>>=<>>=<>>=<>>=<<<=<<<=<<<=<<<>",
/*17*/ ">=>>><>>><>>><>>>=<<><<<><<<><<<>",
/*18*/ ">>>>><>>><>>><>>>>=<><<<><<<><<<>",
/*19*/ ">>>>><>>><>>><>>>>>=><<<><<<><<<>",
/*20*/ "=<>>=<>>=<>>=<>>=<<<=<<<=<<<=<<<>",
/*21*/ ">>>>>=>>><>>><>>>>>>>=<<><<<><<<>",
/*22*/ ">>>>>>>>><>>><>>>>>>>>=<><<<><<<>",
/*23*/ ">>>>>>>>><>>><>>>>>>>>>=><<<><<<>",
/*24*/ "=<xx=<xx=<xx=<>>=<<<=<<<=<<<=<<<>",
/*25*/ ">>xx>>xx>=xx><>>>>>>>>>>>=<<><<<>",
/*26*/ ">>xx>>xx>>xx><>>>>>>>>>>>>=<><<<>",
/*27*/ ">>xx>>xx>>xx><>>>>>>>>>>>>>=><<<>",
/*28*/ "=<xx=<xx=<xx=<xx=<<<=<<<=<<<=<<<>",
/*29*/ ">>xx>>xx>>xx>=xx>>>>>>>>>>>>>=<<>",
/*30*/ ">>xx>>xx>>xx>>xx>>>>>>>>>>>>>>=<>",
/*31*/ ">>xx>>xx>>xx>>xx>>>>>>>>>>>>>>>=>",
/*32*/ "<<>><<>><<>><<>><<<<<<<<<<<<<<<<="
};