Open zkjiaumich opened 10 months ago
I would say it can work now with the mwe.cpp, accessor test, and view method test! However, I find the bugs in the assembly and disassembly functions but cannot fix them, so I just comment on these two functions. Sorry for the developer -- maybe you should try to figure this out before making a new push, otherwise other functions and tests cannot run...
Reviewing the CSR storage methods Issue #52 This looks like a pretty good implementation. I would just ask you to consider 2 things
Reviewing the CSR accessor #44: The implementation is doing what it is supposed to do. looks great.
I am reviewing the assembleStorage and disassembleStorage tests for CSR. #39 I think the tests look good, which try to test the float- and double-type CSR class. The test functions are easy to understand and also include the necessary terms associated with the assembleStorage and disassembleStorage functions. I think the student who works on this develops the test quite well, since there are some bugs in the function but the student still knows what he/she should do and uses the interface basically correctly.
Reviewing the CSR accessors test #48.
Looks good. You tested the getNumRows, getNumCols, getCoefficient, and getFormat, which match the first five items in your task. You also mentioned testing the number of nonzero entries. I do not think it is very necessary here, but it can be done to check the correctness more precisely.
Besides, you mentioned printing the error message for different tests. It would be better if you can add them.
The CSR_view method is ready for review.