From 4b97a0eb6c9ef2a0e8f53dd7d6f89129d8467fac Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Sat, 23 Feb 2019 14:56:30 +0100 Subject: Add initializer_list constructor to basic_matrix and matrix test --- test/matrix_example.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/matrix_example.cpp (limited to 'test/matrix_example.cpp') diff --git a/test/matrix_example.cpp b/test/matrix_example.cpp new file mode 100644 index 0000000..3fb7c78 --- /dev/null +++ b/test/matrix_example.cpp @@ -0,0 +1,13 @@ +#include "mmmatrix.hpp" + +#include +#include + +int main(int argc, char *argv[]) { + std::cout << "MxN dimensional (int) matrices" << std::endl; + mm::matrix m {{1, 2}, {3, 4}, {5, 6}}; + + std::cout << m; + + return 0; +} -- cgit v1.2.1