\hypertarget{sort_8cpp}{}\doxysection{tests/sort.cpp File Reference} \label{sort_8cpp}\index{tests/sort.cpp@{tests/sort.cpp}} {\ttfamily \#include \char`\"{}catch.\+hpp\char`\"{}}\newline {\ttfamily \#include \char`\"{}kblib/sort.\+h\char`\"{}}\newline {\ttfamily \#include \char`\"{}kblib/stats.\+h\char`\"{}}\newline {\ttfamily \#include \char`\"{}kblib/stringops.\+h\char`\"{}}\newline {\ttfamily \#include $<$iomanip$>$}\newline {\ttfamily \#include $<$iostream$>$}\newline {\ttfamily \#include $<$map$>$}\newline Include dependency graph for sort.\+cpp\+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{sort_8cpp__incl} \end{center} \end{figure} \doxysubsection*{Macros} \begin{DoxyCompactItemize} \item \#define \mbox{\hyperlink{sort_8cpp_a48b288ccc4a32636f83220e7b7a79f82}{TIME}}(...)~time\+\_\+and\+\_\+log(\+\_\+\+\_\+\+LINE\+\_\+\+\_\+, \+\_\+\+\_\+\+VA\+\_\+\+ARGS\+\_\+\+\_\+) \end{DoxyCompactItemize} \doxysubsection*{Functions} \begin{DoxyCompactItemize} \item {\footnotesize template$<$typename T , std\+::size\+\_\+t N$>$ }\\constexpr auto \mbox{\hyperlink{sort_8cpp_a69d35b0f10a5816a8fdc86dd88099389}{sort\+\_\+test}} (\mbox{\hyperlink{structkblib_1_1trivial__array}{kblib\+::trivial\+\_\+array}}$<$ T, N $>$ val) noexcept -\/$>$ bool \item \mbox{\hyperlink{sort_8cpp_aff80d0822871626fe96948e69c4cc5b6}{TEST\+\_\+\+CASE}} (\char`\"{}sort\char`\"{}) \item auto \mbox{\hyperlink{sort_8cpp_a749843dabc021eefd1a3f9ce1f8873da}{linear}} (std\+::size\+\_\+t i) \item \mbox{\hyperlink{sort_8cpp_ab59d3ab71834df87f0c921b5936bd019}{TEST\+\_\+\+CASE}} (\char`\"{}insertion sort performance\char`\"{}) \item \mbox{\hyperlink{sort_8cpp_a583b0027d521862f860a8a5a515be6ad}{TEST\+\_\+\+CASE}} (\char`\"{}byte extraction\char`\"{}) \end{DoxyCompactItemize} \doxysubsection{Macro Definition Documentation} \mbox{\Hypertarget{sort_8cpp_a48b288ccc4a32636f83220e7b7a79f82}\label{sort_8cpp_a48b288ccc4a32636f83220e7b7a79f82}} \index{sort.cpp@{sort.cpp}!TIME@{TIME}} \index{TIME@{TIME}!sort.cpp@{sort.cpp}} \doxysubsubsection{\texorpdfstring{TIME}{TIME}} {\footnotesize\ttfamily \#define TIME(\begin{DoxyParamCaption}\item[{}]{... }\end{DoxyParamCaption})~time\+\_\+and\+\_\+log(\+\_\+\+\_\+\+LINE\+\_\+\+\_\+, \+\_\+\+\_\+\+VA\+\_\+\+ARGS\+\_\+\+\_\+)} \doxysubsection{Function Documentation} \mbox{\Hypertarget{sort_8cpp_a749843dabc021eefd1a3f9ce1f8873da}\label{sort_8cpp_a749843dabc021eefd1a3f9ce1f8873da}} \index{sort.cpp@{sort.cpp}!linear@{linear}} \index{linear@{linear}!sort.cpp@{sort.cpp}} \doxysubsubsection{\texorpdfstring{linear()}{linear()}} {\footnotesize\ttfamily auto linear (\begin{DoxyParamCaption}\item[{std\+::size\+\_\+t}]{i }\end{DoxyParamCaption})} Definition at line \mbox{\hyperlink{sort_8cpp_source_l00108}{108}} of file \mbox{\hyperlink{sort_8cpp_source}{sort.\+cpp}}. \mbox{\Hypertarget{sort_8cpp_a69d35b0f10a5816a8fdc86dd88099389}\label{sort_8cpp_a69d35b0f10a5816a8fdc86dd88099389}} \index{sort.cpp@{sort.cpp}!sort\_test@{sort\_test}} \index{sort\_test@{sort\_test}!sort.cpp@{sort.cpp}} \doxysubsubsection{\texorpdfstring{sort\_test()}{sort\_test()}} {\footnotesize\ttfamily template$<$typename T , std\+::size\+\_\+t N$>$ \\ constexpr auto sort\+\_\+test (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{structkblib_1_1trivial__array}{kblib\+::trivial\+\_\+array}}$<$ T, N $>$}]{val }\end{DoxyParamCaption}) -\/$>$ bool \hspace{0.3cm}{\ttfamily [constexpr]}, {\ttfamily [noexcept]}} Definition at line \mbox{\hyperlink{sort_8cpp_source_l00012}{12}} of file \mbox{\hyperlink{sort_8cpp_source}{sort.\+cpp}}. \mbox{\Hypertarget{sort_8cpp_a583b0027d521862f860a8a5a515be6ad}\label{sort_8cpp_a583b0027d521862f860a8a5a515be6ad}} \index{sort.cpp@{sort.cpp}!TEST\_CASE@{TEST\_CASE}} \index{TEST\_CASE@{TEST\_CASE}!sort.cpp@{sort.cpp}} \doxysubsubsection{\texorpdfstring{TEST\_CASE()}{TEST\_CASE()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}} {\footnotesize\ttfamily TEST\+\_\+\+CASE (\begin{DoxyParamCaption}\item[{\char`\"{}byte extraction\char`\"{}}]{ }\end{DoxyParamCaption})} Definition at line \mbox{\hyperlink{sort_8cpp_source_l00251}{251}} of file \mbox{\hyperlink{sort_8cpp_source}{sort.\+cpp}}. \mbox{\Hypertarget{sort_8cpp_ab59d3ab71834df87f0c921b5936bd019}\label{sort_8cpp_ab59d3ab71834df87f0c921b5936bd019}} \index{sort.cpp@{sort.cpp}!TEST\_CASE@{TEST\_CASE}} \index{TEST\_CASE@{TEST\_CASE}!sort.cpp@{sort.cpp}} \doxysubsubsection{\texorpdfstring{TEST\_CASE()}{TEST\_CASE()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}} {\footnotesize\ttfamily TEST\+\_\+\+CASE (\begin{DoxyParamCaption}\item[{\char`\"{}insertion sort performance\char`\"{}}]{ }\end{DoxyParamCaption})} Definition at line \mbox{\hyperlink{sort_8cpp_source_l00110}{110}} of file \mbox{\hyperlink{sort_8cpp_source}{sort.\+cpp}}. \mbox{\Hypertarget{sort_8cpp_aff80d0822871626fe96948e69c4cc5b6}\label{sort_8cpp_aff80d0822871626fe96948e69c4cc5b6}} \index{sort.cpp@{sort.cpp}!TEST\_CASE@{TEST\_CASE}} \index{TEST\_CASE@{TEST\_CASE}!sort.cpp@{sort.cpp}} \doxysubsubsection{\texorpdfstring{TEST\_CASE()}{TEST\_CASE()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}} {\footnotesize\ttfamily TEST\+\_\+\+CASE (\begin{DoxyParamCaption}\item[{\char`\"{}sort\char`\"{}}]{ }\end{DoxyParamCaption})} Definition at line \mbox{\hyperlink{sort_8cpp_source_l00019}{19}} of file \mbox{\hyperlink{sort_8cpp_source}{sort.\+cpp}}.