| 334 | |
| 335 | |
| 336 | void demo_syncDiagMatr() { |
| 337 | |
| 338 | DiagMatr a = createDiagMatr(2); |
| 339 | |
| 340 | // manually modify the elems |
| 341 | a.cpuElems[0] = 1; |
| 342 | a.cpuElems[1] = 2_i; |
| 343 | a.cpuElems[2] = -3_i; |
| 344 | a.cpuElems[3] = -2+4_i; |
| 345 | |
| 346 | syncDiagMatr(a); |
| 347 | reportDiagMatr(a); |
| 348 | destroyDiagMatr(a); |
| 349 | } |
| 350 | |
| 351 | |
| 352 |
no test coverage detected