\hypertarget{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc}{\section{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.cc File Reference}
\label{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc}\index{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc@{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc}}
}
{\ttfamily \#include $<$Testing/\-Utils/\-S\-C\-I\-Run\-Unit\-Tests.\-h$>$}\\*
{\ttfamily \#include $<$Core/\-Datatypes/\-Dense\-Matrix.\-h$>$}\\*
{\ttfamily \#include $<$Core/\-Datatypes/\-Sparse\-Row\-Matrix.\-h$>$}\\*
{\ttfamily \#include $<$Core/\-Datatypes/\-Dense\-Column\-Matrix.\-h$>$}\\*
{\ttfamily \#include $<$Core/\-Datatypes/\-Matrix\-I\-O.\-h$>$}\\*
{\ttfamily \#include $<$Core/\-Datatypes/\-Matrix\-Comparison.\-h$>$}\\*
{\ttfamily \#include $<$Core/\-Datatypes/\-Matrix\-Type\-Conversions.\-h$>$}\\*
{\ttfamily \#include $<$Core/\-Algorithms/\-Data\-I\-O/\-Write\-Matrix.\-h$>$}\\*
{\ttfamily \#include $<$Core/\-Algorithms/\-Data\-I\-O/\-Read\-Matrix.\-h$>$}\\*
{\ttfamily \#include $<$Core/\-Algorithms/\-Base/\-Algorithm\-Preconditions.\-h$>$}\\*
{\ttfamily \#include $<$Testing/\-Utils/\-Matrix\-Test\-Utilities.\-h$>$}\\*
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_a4328807b47f6281aeb3891c0aeb89caf}{P\-R\-I\-N\-T\-\_\-\-M\-A\-T\-R\-I\-X\-\_\-\-B\-A\-S\-E}(x)~std\-::cout $<$$<$ \#x $<$$<$ \char`\"{} = \textbackslash{}n\char`\"{} $<$$<$ static\-\_\-cast$<$const \hyperlink{class_s_c_i_run_1_1_core_1_1_datatypes_1_1_matrix_base}{Matrix\-Base}$<$double$>$\&$>$((x)) $<$$<$ std\-::endl
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_a8df479f76f3dc82af426ee0b12481e69}{T\-E\-S\-T} (Write\-Matrix\-Tests, Can\-Write\-To\-Stream)
\item 
\hyperlink{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_a59f9be71984ba5970638034ceed1aaf2}{T\-E\-S\-T} (Write\-Matrix\-Algorithm\-Test, Test\-To\-Real\-Text\-File)
\item 
\hyperlink{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_a1652b9907a53e6cc6de1b6934c402bc6}{T\-E\-S\-T} (Write\-Matrix\-Algorithm\-Test, Round\-Trip\-Real\-Text\-File)
\item 
\hyperlink{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_abad9bf2ed6dd5cf5b88466cd566f8ea6}{T\-E\-S\-T} (Write\-Matrix\-Algorithm\-Test, Round\-Trip\-Real\-Binary\-File)
\item 
\hyperlink{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_a7b3b205d2c3d4f187d4da68f835d540b}{T\-E\-S\-T} (Write\-Matrix\-Algorithm\-Test, Throws\-With\-Null\-Input)
\item 
\hyperlink{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_a6e766c3b8eeb37fb4f14c657e4cdc6a8}{T\-E\-S\-T} (Write\-Matrix\-Algorithm\-Test, Check\-Boost\-Exception\-Logging\-Capability)
\item 
\hyperlink{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_aef2c997801becd6ec261ebfef1d54336}{T\-E\-S\-T} (Write\-Matrix\-Test, Can\-Print\-Sparse\-Matrix)
\item 
\hyperlink{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_a5a00e5cddb269b2c3625b91428842c1d}{T\-E\-S\-T} (Write\-Matrix\-Test, Can\-Print\-Column\-Matrix)
\item 
\hyperlink{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_afff96f9a5e5d81cfd000f17007e95679}{T\-E\-S\-T} (Write\-Matrix\-Algorithm\-Test, Round\-Trip\-Real\-Binary\-File\-Sparse)
\item 
\hyperlink{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_a5e5a7da143303daea4ffcdea9e559b79}{T\-E\-S\-T} (Write\-Matrix\-Algorithm\-Test, Round\-Trip\-Real\-Binary\-File\-Dense)
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\hypertarget{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_a4328807b47f6281aeb3891c0aeb89caf}{\index{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc@{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc}!P\-R\-I\-N\-T\-\_\-\-M\-A\-T\-R\-I\-X\-\_\-\-B\-A\-S\-E@{P\-R\-I\-N\-T\-\_\-\-M\-A\-T\-R\-I\-X\-\_\-\-B\-A\-S\-E}}
\index{P\-R\-I\-N\-T\-\_\-\-M\-A\-T\-R\-I\-X\-\_\-\-B\-A\-S\-E@{P\-R\-I\-N\-T\-\_\-\-M\-A\-T\-R\-I\-X\-\_\-\-B\-A\-S\-E}!Core/Algorithms/DataIO/Tests/WriteMatrixTests.cc@{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc}}
\subsubsection[{P\-R\-I\-N\-T\-\_\-\-M\-A\-T\-R\-I\-X\-\_\-\-B\-A\-S\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define P\-R\-I\-N\-T\-\_\-\-M\-A\-T\-R\-I\-X\-\_\-\-B\-A\-S\-E(
\begin{DoxyParamCaption}
\item[{}]{x}
\end{DoxyParamCaption}
)~std\-::cout $<$$<$ \#x $<$$<$ \char`\"{} = \textbackslash{}n\char`\"{} $<$$<$ static\-\_\-cast$<$const {\bf Matrix\-Base}$<$double$>$\&$>$((x)) $<$$<$ std\-::endl}}\label{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_a4328807b47f6281aeb3891c0aeb89caf}


\subsection{Function Documentation}
\hypertarget{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_a8df479f76f3dc82af426ee0b12481e69}{\index{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc@{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc}!T\-E\-S\-T@{T\-E\-S\-T}}
\index{T\-E\-S\-T@{T\-E\-S\-T}!Core/Algorithms/DataIO/Tests/WriteMatrixTests.cc@{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc}}
\subsubsection[{T\-E\-S\-T}]{\setlength{\rightskip}{0pt plus 5cm}T\-E\-S\-T (
\begin{DoxyParamCaption}
\item[{Write\-Matrix\-Tests}]{, }
\item[{Can\-Write\-To\-Stream}]{}
\end{DoxyParamCaption}
)}}\label{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_a8df479f76f3dc82af426ee0b12481e69}
\hypertarget{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_a59f9be71984ba5970638034ceed1aaf2}{\index{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc@{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc}!T\-E\-S\-T@{T\-E\-S\-T}}
\index{T\-E\-S\-T@{T\-E\-S\-T}!Core/Algorithms/DataIO/Tests/WriteMatrixTests.cc@{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc}}
\subsubsection[{T\-E\-S\-T}]{\setlength{\rightskip}{0pt plus 5cm}T\-E\-S\-T (
\begin{DoxyParamCaption}
\item[{Write\-Matrix\-Algorithm\-Test}]{, }
\item[{Test\-To\-Real\-Text\-File}]{}
\end{DoxyParamCaption}
)}}\label{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_a59f9be71984ba5970638034ceed1aaf2}
\hypertarget{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_a1652b9907a53e6cc6de1b6934c402bc6}{\index{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc@{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc}!T\-E\-S\-T@{T\-E\-S\-T}}
\index{T\-E\-S\-T@{T\-E\-S\-T}!Core/Algorithms/DataIO/Tests/WriteMatrixTests.cc@{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc}}
\subsubsection[{T\-E\-S\-T}]{\setlength{\rightskip}{0pt plus 5cm}T\-E\-S\-T (
\begin{DoxyParamCaption}
\item[{Write\-Matrix\-Algorithm\-Test}]{, }
\item[{Round\-Trip\-Real\-Text\-File}]{}
\end{DoxyParamCaption}
)}}\label{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_a1652b9907a53e6cc6de1b6934c402bc6}
\hypertarget{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_abad9bf2ed6dd5cf5b88466cd566f8ea6}{\index{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc@{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc}!T\-E\-S\-T@{T\-E\-S\-T}}
\index{T\-E\-S\-T@{T\-E\-S\-T}!Core/Algorithms/DataIO/Tests/WriteMatrixTests.cc@{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc}}
\subsubsection[{T\-E\-S\-T}]{\setlength{\rightskip}{0pt plus 5cm}T\-E\-S\-T (
\begin{DoxyParamCaption}
\item[{Write\-Matrix\-Algorithm\-Test}]{, }
\item[{Round\-Trip\-Real\-Binary\-File}]{}
\end{DoxyParamCaption}
)}}\label{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_abad9bf2ed6dd5cf5b88466cd566f8ea6}
\hypertarget{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_a7b3b205d2c3d4f187d4da68f835d540b}{\index{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc@{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc}!T\-E\-S\-T@{T\-E\-S\-T}}
\index{T\-E\-S\-T@{T\-E\-S\-T}!Core/Algorithms/DataIO/Tests/WriteMatrixTests.cc@{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc}}
\subsubsection[{T\-E\-S\-T}]{\setlength{\rightskip}{0pt plus 5cm}T\-E\-S\-T (
\begin{DoxyParamCaption}
\item[{Write\-Matrix\-Algorithm\-Test}]{, }
\item[{Throws\-With\-Null\-Input}]{}
\end{DoxyParamCaption}
)}}\label{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_a7b3b205d2c3d4f187d4da68f835d540b}
\hypertarget{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_a6e766c3b8eeb37fb4f14c657e4cdc6a8}{\index{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc@{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc}!T\-E\-S\-T@{T\-E\-S\-T}}
\index{T\-E\-S\-T@{T\-E\-S\-T}!Core/Algorithms/DataIO/Tests/WriteMatrixTests.cc@{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc}}
\subsubsection[{T\-E\-S\-T}]{\setlength{\rightskip}{0pt plus 5cm}T\-E\-S\-T (
\begin{DoxyParamCaption}
\item[{Write\-Matrix\-Algorithm\-Test}]{, }
\item[{Check\-Boost\-Exception\-Logging\-Capability}]{}
\end{DoxyParamCaption}
)}}\label{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_a6e766c3b8eeb37fb4f14c657e4cdc6a8}
\hypertarget{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_aef2c997801becd6ec261ebfef1d54336}{\index{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc@{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc}!T\-E\-S\-T@{T\-E\-S\-T}}
\index{T\-E\-S\-T@{T\-E\-S\-T}!Core/Algorithms/DataIO/Tests/WriteMatrixTests.cc@{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc}}
\subsubsection[{T\-E\-S\-T}]{\setlength{\rightskip}{0pt plus 5cm}T\-E\-S\-T (
\begin{DoxyParamCaption}
\item[{Write\-Matrix\-Test}]{, }
\item[{Can\-Print\-Sparse\-Matrix}]{}
\end{DoxyParamCaption}
)}}\label{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_aef2c997801becd6ec261ebfef1d54336}
\hypertarget{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_a5a00e5cddb269b2c3625b91428842c1d}{\index{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc@{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc}!T\-E\-S\-T@{T\-E\-S\-T}}
\index{T\-E\-S\-T@{T\-E\-S\-T}!Core/Algorithms/DataIO/Tests/WriteMatrixTests.cc@{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc}}
\subsubsection[{T\-E\-S\-T}]{\setlength{\rightskip}{0pt plus 5cm}T\-E\-S\-T (
\begin{DoxyParamCaption}
\item[{Write\-Matrix\-Test}]{, }
\item[{Can\-Print\-Column\-Matrix}]{}
\end{DoxyParamCaption}
)}}\label{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_a5a00e5cddb269b2c3625b91428842c1d}
\hypertarget{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_afff96f9a5e5d81cfd000f17007e95679}{\index{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc@{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc}!T\-E\-S\-T@{T\-E\-S\-T}}
\index{T\-E\-S\-T@{T\-E\-S\-T}!Core/Algorithms/DataIO/Tests/WriteMatrixTests.cc@{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc}}
\subsubsection[{T\-E\-S\-T}]{\setlength{\rightskip}{0pt plus 5cm}T\-E\-S\-T (
\begin{DoxyParamCaption}
\item[{Write\-Matrix\-Algorithm\-Test}]{, }
\item[{Round\-Trip\-Real\-Binary\-File\-Sparse}]{}
\end{DoxyParamCaption}
)}}\label{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_afff96f9a5e5d81cfd000f17007e95679}
\hypertarget{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_a5e5a7da143303daea4ffcdea9e559b79}{\index{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc@{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc}!T\-E\-S\-T@{T\-E\-S\-T}}
\index{T\-E\-S\-T@{T\-E\-S\-T}!Core/Algorithms/DataIO/Tests/WriteMatrixTests.cc@{Core/\-Algorithms/\-Data\-I\-O/\-Tests/\-Write\-Matrix\-Tests.\-cc}}
\subsubsection[{T\-E\-S\-T}]{\setlength{\rightskip}{0pt plus 5cm}T\-E\-S\-T (
\begin{DoxyParamCaption}
\item[{Write\-Matrix\-Algorithm\-Test}]{, }
\item[{Round\-Trip\-Real\-Binary\-File\-Dense}]{}
\end{DoxyParamCaption}
)}}\label{_core_2_algorithms_2_data_i_o_2_tests_2_write_matrix_tests_8cc_a5e5a7da143303daea4ffcdea9e559b79}
