From: Akiko Date: Fri, 25 Oct 2013 11:33:27 +0000 (+0200) Subject: - just a small matrix test update (print the matrices) X-Git-Url: http://community.linux-addicted.net/gitweb/?a=commitdiff_plain;h=1f7e2ece72336630f1352e3308bbde82eaa5d245;p=qtinns.git - just a small matrix test update (print the matrices) --- diff --git a/tests/test_matrix.cxx b/tests/test_matrix.cxx index 411042d..6ba1310 100644 --- a/tests/test_matrix.cxx +++ b/tests/test_matrix.cxx @@ -1,7 +1,26 @@ #include #include "engine/Matrix.hxx" +Matrix mat22; +Matrix mat33; +Matrix mat44; +Matrix mat55; +Matrix mat66; + int main(int32_t argc, char **argv) { + switch (argc) + { + case 1: + default: + break; + } + + std::cout << "Matrix 2x2: " << mat22.string() << std::endl + << "Matrix 3x3: " << mat33.string() << std::endl + << "Matrix 4x4: " << mat44.string() << std::endl + << "Matrix 5x5: " << mat55.string() << std::endl + << "Matrix 6x6: " << mat66.string() << std::endl; + return 0; }