\hypertarget{io_8cpp}{}\doxysection{tests/io.cpp File Reference} \label{io_8cpp}\index{tests/io.cpp@{tests/io.cpp}} {\ttfamily \#include \char`\"{}kblib/io.\+h\char`\"{}}\newline {\ttfamily \#include \char`\"{}catch.\+hpp\char`\"{}}\newline {\ttfamily \#include \char`\"{}kblib/hash.\+h\char`\"{}}\newline {\ttfamily \#include $<$deque$>$}\newline {\ttfamily \#include $<$iostream$>$}\newline {\ttfamily \#include $<$sstream$>$}\newline {\ttfamily \#include $<$vector$>$}\newline Include dependency graph for io.\+cpp\+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{io_8cpp__incl} \end{center} \end{figure} \doxysubsection*{Functions} \begin{DoxyCompactItemize} \item \mbox{\hyperlink{io_8cpp_a9d21f53f7bf81eb0a7cf4be20666096d}{TEST\+\_\+\+CASE}} (\char`\"{}get\+\_\+line\char`\"{}) \item \mbox{\hyperlink{io_8cpp_ad5fbe6d6d32b2d082229810c7c5694c3}{TEST\+\_\+\+CASE}} (\char`\"{}wide get\+\_\+line\char`\"{}) \item \mbox{\hyperlink{io_8cpp_a9f5375165f53d34526d7b57bd32dee15}{TEST\+\_\+\+CASE}} (\char`\"{}nl\char`\"{}) \item \mbox{\hyperlink{io_8cpp_a82c7e3b25c67847c19fa175975b8efd8}{TEST\+\_\+\+CASE}} (\char`\"{}nl(wchar\+\_\+t)\char`\"{}) \item \mbox{\hyperlink{io_8cpp_a61ba97f865d5025e8648dbb718c87e1f}{TEST\+\_\+\+CASE}} (\char`\"{}expect(good)\char`\"{}) \item \mbox{\hyperlink{io_8cpp_a42f0465ef10961b87e8838f6dd9c2c63}{TEST\+\_\+\+CASE}} (\char`\"{}expect(fail)\char`\"{}) \item \mbox{\hyperlink{io_8cpp_a94fb6c6cfa5ce7231dc4badcc03a68fe}{TEST\+\_\+\+CASE}} (\char`\"{}expect(wchar\+\_\+t, good)\char`\"{}) \item \mbox{\hyperlink{io_8cpp_ad9c632d6789c7227fe361e4bff3ce073}{TEST\+\_\+\+CASE}} (\char`\"{}expect(wchar\+\_\+t, fail)\char`\"{}) \item \mbox{\hyperlink{io_8cpp_aa294985917f0ce4270d768e2328a638b}{TEST\+\_\+\+CASE}} (\char`\"{}expect(widening, good)\char`\"{}) \item \mbox{\hyperlink{io_8cpp_a945c8031cae116baf86fdf55824b2479}{TEST\+\_\+\+CASE}} (\char`\"{}expect(widening, fail)\char`\"{}) \item \mbox{\hyperlink{io_8cpp_ab6f27d61e6bd5060307844bc47e2b2b3}{TEST\+\_\+\+CASE}} (\char`\"{}get\+\_\+file\+\_\+contents\char`\"{}) \item \mbox{\hyperlink{io_8cpp_a57c77f5dc2627d92075158d08c885b73}{TEST\+\_\+\+CASE}} (\char`\"{}tee\+\_\+stream\char`\"{}) \end{DoxyCompactItemize} \doxysubsection{Function Documentation} \mbox{\Hypertarget{io_8cpp_a42f0465ef10961b87e8838f6dd9c2c63}\label{io_8cpp_a42f0465ef10961b87e8838f6dd9c2c63}} \index{io.cpp@{io.cpp}!TEST\_CASE@{TEST\_CASE}} \index{TEST\_CASE@{TEST\_CASE}!io.cpp@{io.cpp}} \doxysubsubsection{\texorpdfstring{TEST\_CASE()}{TEST\_CASE()}\hspace{0.1cm}{\footnotesize\ttfamily [1/12]}} {\footnotesize\ttfamily TEST\+\_\+\+CASE (\begin{DoxyParamCaption}\item[{\char`\"{}expect(fail)\char`\"{}}]{ }\end{DoxyParamCaption})} Definition at line \mbox{\hyperlink{io_8cpp_source_l00082}{82}} of file \mbox{\hyperlink{io_8cpp_source}{io.\+cpp}}. \mbox{\Hypertarget{io_8cpp_a61ba97f865d5025e8648dbb718c87e1f}\label{io_8cpp_a61ba97f865d5025e8648dbb718c87e1f}} \index{io.cpp@{io.cpp}!TEST\_CASE@{TEST\_CASE}} \index{TEST\_CASE@{TEST\_CASE}!io.cpp@{io.cpp}} \doxysubsubsection{\texorpdfstring{TEST\_CASE()}{TEST\_CASE()}\hspace{0.1cm}{\footnotesize\ttfamily [2/12]}} {\footnotesize\ttfamily TEST\+\_\+\+CASE (\begin{DoxyParamCaption}\item[{\char`\"{}expect(good)\char`\"{}}]{ }\end{DoxyParamCaption})} Definition at line \mbox{\hyperlink{io_8cpp_source_l00070}{70}} of file \mbox{\hyperlink{io_8cpp_source}{io.\+cpp}}. \mbox{\Hypertarget{io_8cpp_ad9c632d6789c7227fe361e4bff3ce073}\label{io_8cpp_ad9c632d6789c7227fe361e4bff3ce073}} \index{io.cpp@{io.cpp}!TEST\_CASE@{TEST\_CASE}} \index{TEST\_CASE@{TEST\_CASE}!io.cpp@{io.cpp}} \doxysubsubsection{\texorpdfstring{TEST\_CASE()}{TEST\_CASE()}\hspace{0.1cm}{\footnotesize\ttfamily [3/12]}} {\footnotesize\ttfamily TEST\+\_\+\+CASE (\begin{DoxyParamCaption}\item[{\char`\"{}expect(wchar\+\_\+t, fail)\char`\"{}}]{ }\end{DoxyParamCaption})} Definition at line \mbox{\hyperlink{io_8cpp_source_l00114}{114}} of file \mbox{\hyperlink{io_8cpp_source}{io.\+cpp}}. \mbox{\Hypertarget{io_8cpp_a94fb6c6cfa5ce7231dc4badcc03a68fe}\label{io_8cpp_a94fb6c6cfa5ce7231dc4badcc03a68fe}} \index{io.cpp@{io.cpp}!TEST\_CASE@{TEST\_CASE}} \index{TEST\_CASE@{TEST\_CASE}!io.cpp@{io.cpp}} \doxysubsubsection{\texorpdfstring{TEST\_CASE()}{TEST\_CASE()}\hspace{0.1cm}{\footnotesize\ttfamily [4/12]}} {\footnotesize\ttfamily TEST\+\_\+\+CASE (\begin{DoxyParamCaption}\item[{\char`\"{}expect(wchar\+\_\+t, good)\char`\"{}}]{ }\end{DoxyParamCaption})} Definition at line \mbox{\hyperlink{io_8cpp_source_l00102}{102}} of file \mbox{\hyperlink{io_8cpp_source}{io.\+cpp}}. \mbox{\Hypertarget{io_8cpp_a945c8031cae116baf86fdf55824b2479}\label{io_8cpp_a945c8031cae116baf86fdf55824b2479}} \index{io.cpp@{io.cpp}!TEST\_CASE@{TEST\_CASE}} \index{TEST\_CASE@{TEST\_CASE}!io.cpp@{io.cpp}} \doxysubsubsection{\texorpdfstring{TEST\_CASE()}{TEST\_CASE()}\hspace{0.1cm}{\footnotesize\ttfamily [5/12]}} {\footnotesize\ttfamily TEST\+\_\+\+CASE (\begin{DoxyParamCaption}\item[{\char`\"{}expect(widening, fail)\char`\"{}}]{ }\end{DoxyParamCaption})} Definition at line \mbox{\hyperlink{io_8cpp_source_l00146}{146}} of file \mbox{\hyperlink{io_8cpp_source}{io.\+cpp}}. \mbox{\Hypertarget{io_8cpp_aa294985917f0ce4270d768e2328a638b}\label{io_8cpp_aa294985917f0ce4270d768e2328a638b}} \index{io.cpp@{io.cpp}!TEST\_CASE@{TEST\_CASE}} \index{TEST\_CASE@{TEST\_CASE}!io.cpp@{io.cpp}} \doxysubsubsection{\texorpdfstring{TEST\_CASE()}{TEST\_CASE()}\hspace{0.1cm}{\footnotesize\ttfamily [6/12]}} {\footnotesize\ttfamily TEST\+\_\+\+CASE (\begin{DoxyParamCaption}\item[{\char`\"{}expect(widening, good)\char`\"{}}]{ }\end{DoxyParamCaption})} Definition at line \mbox{\hyperlink{io_8cpp_source_l00134}{134}} of file \mbox{\hyperlink{io_8cpp_source}{io.\+cpp}}. \mbox{\Hypertarget{io_8cpp_ab6f27d61e6bd5060307844bc47e2b2b3}\label{io_8cpp_ab6f27d61e6bd5060307844bc47e2b2b3}} \index{io.cpp@{io.cpp}!TEST\_CASE@{TEST\_CASE}} \index{TEST\_CASE@{TEST\_CASE}!io.cpp@{io.cpp}} \doxysubsubsection{\texorpdfstring{TEST\_CASE()}{TEST\_CASE()}\hspace{0.1cm}{\footnotesize\ttfamily [7/12]}} {\footnotesize\ttfamily TEST\+\_\+\+CASE (\begin{DoxyParamCaption}\item[{\char`\"{}get\+\_\+file\+\_\+contents\char`\"{}}]{ }\end{DoxyParamCaption})} Definition at line \mbox{\hyperlink{io_8cpp_source_l00300}{300}} of file \mbox{\hyperlink{io_8cpp_source}{io.\+cpp}}. \mbox{\Hypertarget{io_8cpp_a9d21f53f7bf81eb0a7cf4be20666096d}\label{io_8cpp_a9d21f53f7bf81eb0a7cf4be20666096d}} \index{io.cpp@{io.cpp}!TEST\_CASE@{TEST\_CASE}} \index{TEST\_CASE@{TEST\_CASE}!io.cpp@{io.cpp}} \doxysubsubsection{\texorpdfstring{TEST\_CASE()}{TEST\_CASE()}\hspace{0.1cm}{\footnotesize\ttfamily [8/12]}} {\footnotesize\ttfamily TEST\+\_\+\+CASE (\begin{DoxyParamCaption}\item[{\char`\"{}get\+\_\+line\char`\"{}}]{ }\end{DoxyParamCaption})} Definition at line \mbox{\hyperlink{io_8cpp_source_l00011}{11}} of file \mbox{\hyperlink{io_8cpp_source}{io.\+cpp}}. \mbox{\Hypertarget{io_8cpp_a9f5375165f53d34526d7b57bd32dee15}\label{io_8cpp_a9f5375165f53d34526d7b57bd32dee15}} \index{io.cpp@{io.cpp}!TEST\_CASE@{TEST\_CASE}} \index{TEST\_CASE@{TEST\_CASE}!io.cpp@{io.cpp}} \doxysubsubsection{\texorpdfstring{TEST\_CASE()}{TEST\_CASE()}\hspace{0.1cm}{\footnotesize\ttfamily [9/12]}} {\footnotesize\ttfamily TEST\+\_\+\+CASE (\begin{DoxyParamCaption}\item[{\char`\"{}nl\char`\"{}}]{ }\end{DoxyParamCaption})} Definition at line \mbox{\hyperlink{io_8cpp_source_l00030}{30}} of file \mbox{\hyperlink{io_8cpp_source}{io.\+cpp}}. \mbox{\Hypertarget{io_8cpp_a82c7e3b25c67847c19fa175975b8efd8}\label{io_8cpp_a82c7e3b25c67847c19fa175975b8efd8}} \index{io.cpp@{io.cpp}!TEST\_CASE@{TEST\_CASE}} \index{TEST\_CASE@{TEST\_CASE}!io.cpp@{io.cpp}} \doxysubsubsection{\texorpdfstring{TEST\_CASE()}{TEST\_CASE()}\hspace{0.1cm}{\footnotesize\ttfamily [10/12]}} {\footnotesize\ttfamily TEST\+\_\+\+CASE (\begin{DoxyParamCaption}\item[{\char`\"{}nl(wchar\+\_\+t)\char`\"{}}]{ }\end{DoxyParamCaption})} Definition at line \mbox{\hyperlink{io_8cpp_source_l00050}{50}} of file \mbox{\hyperlink{io_8cpp_source}{io.\+cpp}}. \mbox{\Hypertarget{io_8cpp_a57c77f5dc2627d92075158d08c885b73}\label{io_8cpp_a57c77f5dc2627d92075158d08c885b73}} \index{io.cpp@{io.cpp}!TEST\_CASE@{TEST\_CASE}} \index{TEST\_CASE@{TEST\_CASE}!io.cpp@{io.cpp}} \doxysubsubsection{\texorpdfstring{TEST\_CASE()}{TEST\_CASE()}\hspace{0.1cm}{\footnotesize\ttfamily [11/12]}} {\footnotesize\ttfamily TEST\+\_\+\+CASE (\begin{DoxyParamCaption}\item[{\char`\"{}tee\+\_\+stream\char`\"{}}]{ }\end{DoxyParamCaption})} Definition at line \mbox{\hyperlink{io_8cpp_source_l00325}{325}} of file \mbox{\hyperlink{io_8cpp_source}{io.\+cpp}}. \mbox{\Hypertarget{io_8cpp_ad5fbe6d6d32b2d082229810c7c5694c3}\label{io_8cpp_ad5fbe6d6d32b2d082229810c7c5694c3}} \index{io.cpp@{io.cpp}!TEST\_CASE@{TEST\_CASE}} \index{TEST\_CASE@{TEST\_CASE}!io.cpp@{io.cpp}} \doxysubsubsection{\texorpdfstring{TEST\_CASE()}{TEST\_CASE()}\hspace{0.1cm}{\footnotesize\ttfamily [12/12]}} {\footnotesize\ttfamily TEST\+\_\+\+CASE (\begin{DoxyParamCaption}\item[{\char`\"{}wide get\+\_\+line\char`\"{}}]{ }\end{DoxyParamCaption})} Definition at line \mbox{\hyperlink{io_8cpp_source_l00020}{20}} of file \mbox{\hyperlink{io_8cpp_source}{io.\+cpp}}.