CMSC 476: Assignment 2b

Overview

Fix your Matrix class template so that it has NO errors. To this end, write unit tests using doctest for EVERY method in the class.

Update your Makefile so that make TestMatrix builds your test runner, while make by itself builds your matrix multiplication application. Ensure you test all of the methods, and that all test cases pass.

What to Submit

Submit your C++ driver file, Matrix.hpp, Blas.hpp, Timer.hpp, a Makefile, and TestMatrix.cc. Do NOT rename any of these files.

Hints

See TestFactorial.cc as a simple example.

Consult doctest for the official documentation.


Gary M. Zoppetti, Ph.D.