| 47 | |
| 48 | |
| 49 | void demo_DiagMatr() { |
| 50 | |
| 51 | DiagMatr matr = createDiagMatr(5); |
| 52 | for (qindex i=0; i<matr.numElems; i++) |
| 53 | matr.cpuElems[i] = i + 1; |
| 54 | syncDiagMatr(matr); |
| 55 | |
| 56 | for (int num : {0, 10}) { |
| 57 | rootPrint(num); |
| 58 | setMaxNumReportedItems(num, num); |
| 59 | reportDiagMatr(matr); |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | |
| 64 |
no test coverage detected