\hypertarget{format_8cpp}{}\doxysection{tests/format.cpp File Reference}
\label{format_8cpp}\index{tests/format.cpp@{tests/format.cpp}}
{\ttfamily \#include \char`\"{}catch.\+hpp\char`\"{}}\newline
{\ttfamily \#include \char`\"{}kblib/format.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}kblib/iterators.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}kblib/stringops.\+h\char`\"{}}\newline
{\ttfamily \#include $<$iostream$>$}\newline
{\ttfamily \#include $<$string\+\_\+view$>$}\newline
Include dependency graph for format.\+cpp\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{format_8cpp__incl}
\end{center}
\end{figure}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{format_8cpp_a4ec0059820fbfe1b795098072560c292}{REQUIRE\+\_\+\+DIGITS}}(v)~REQUIRE\+\_\+\+THAT((v), \mbox{\hyperlink{format_8cpp_a4caa847fb54d70a9dcd9ce2e60d63489}{pred\+\_\+count\+\_\+digits}}((v)))
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename T $>$ }\\auto \mbox{\hyperlink{format_8cpp_a4caa847fb54d70a9dcd9ce2e60d63489}{pred\+\_\+count\+\_\+digits}} (T v)
\item 
{\footnotesize template$<$typename T , typename U $>$ }\\auto \mbox{\hyperlink{format_8cpp_a1184311487e3908403328f6c3fa443d7}{test\+\_\+count\+\_\+digits\+\_\+range}} (\mbox{\hyperlink{classkblib_1_1range__t}{kblib\+::range\+\_\+t}}$<$ T, U $>$ r)
\item 
\mbox{\hyperlink{format_8cpp_a9e9d92361fdab81c2684af3689370896}{TEST\+\_\+\+CASE}} (\char`\"{}count\+\_\+digits\char`\"{})
\end{DoxyCompactItemize}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{format_8cpp_a4ec0059820fbfe1b795098072560c292}\label{format_8cpp_a4ec0059820fbfe1b795098072560c292}} 
\index{format.cpp@{format.cpp}!REQUIRE\_DIGITS@{REQUIRE\_DIGITS}}
\index{REQUIRE\_DIGITS@{REQUIRE\_DIGITS}!format.cpp@{format.cpp}}
\doxysubsubsection{\texorpdfstring{REQUIRE\_DIGITS}{REQUIRE\_DIGITS}}
{\footnotesize\ttfamily \#define REQUIRE\+\_\+\+DIGITS(\begin{DoxyParamCaption}\item[{}]{v }\end{DoxyParamCaption})~REQUIRE\+\_\+\+THAT((v), \mbox{\hyperlink{format_8cpp_a4caa847fb54d70a9dcd9ce2e60d63489}{pred\+\_\+count\+\_\+digits}}((v)))}



Definition at line \mbox{\hyperlink{format_8cpp_source_l00021}{21}} of file \mbox{\hyperlink{format_8cpp_source}{format.\+cpp}}.



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{format_8cpp_a4caa847fb54d70a9dcd9ce2e60d63489}\label{format_8cpp_a4caa847fb54d70a9dcd9ce2e60d63489}} 
\index{format.cpp@{format.cpp}!pred\_count\_digits@{pred\_count\_digits}}
\index{pred\_count\_digits@{pred\_count\_digits}!format.cpp@{format.cpp}}
\doxysubsubsection{\texorpdfstring{pred\_count\_digits()}{pred\_count\_digits()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
auto pred\+\_\+count\+\_\+digits (\begin{DoxyParamCaption}\item[{T}]{v }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{format_8cpp_source_l00012}{12}} of file \mbox{\hyperlink{format_8cpp_source}{format.\+cpp}}.

\mbox{\Hypertarget{format_8cpp_a9e9d92361fdab81c2684af3689370896}\label{format_8cpp_a9e9d92361fdab81c2684af3689370896}} 
\index{format.cpp@{format.cpp}!TEST\_CASE@{TEST\_CASE}}
\index{TEST\_CASE@{TEST\_CASE}!format.cpp@{format.cpp}}
\doxysubsubsection{\texorpdfstring{TEST\_CASE()}{TEST\_CASE()}}
{\footnotesize\ttfamily TEST\+\_\+\+CASE (\begin{DoxyParamCaption}\item[{\char`\"{}count\+\_\+digits\char`\"{}}]{ }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{format_8cpp_source_l00037}{37}} of file \mbox{\hyperlink{format_8cpp_source}{format.\+cpp}}.

\mbox{\Hypertarget{format_8cpp_a1184311487e3908403328f6c3fa443d7}\label{format_8cpp_a1184311487e3908403328f6c3fa443d7}} 
\index{format.cpp@{format.cpp}!test\_count\_digits\_range@{test\_count\_digits\_range}}
\index{test\_count\_digits\_range@{test\_count\_digits\_range}!format.cpp@{format.cpp}}
\doxysubsubsection{\texorpdfstring{test\_count\_digits\_range()}{test\_count\_digits\_range()}}
{\footnotesize\ttfamily template$<$typename T , typename U $>$ \\
auto test\+\_\+count\+\_\+digits\+\_\+range (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classkblib_1_1range__t}{kblib\+::range\+\_\+t}}$<$ T, U $>$}]{r }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{format_8cpp_source_l00024}{24}} of file \mbox{\hyperlink{format_8cpp_source}{format.\+cpp}}.

