------------------------------------------------------------------------------
| 15 | |
| 16 | //------------------------------------------------------------------------------ |
| 17 | int CheckArrayPointData(vtkDataArray* firstArray, vtkDataArray* secondArray, int idx) |
| 18 | { |
| 19 | // Check that each component at a given index are the same in each array |
| 20 | for (int compIdx = 0; compIdx < secondArray->GetNumberOfComponents(); ++compIdx) |
| 21 | { |
| 22 | if (firstArray->GetComponent(idx, compIdx) != secondArray->GetComponent(idx, compIdx)) |
| 23 | { |
| 24 | std::cerr << "Error: different values for " |
| 25 | "[" |
| 26 | << (idx) << "]_" << compIdx << std::endl; |
| 27 | return 1; |
| 28 | } |
| 29 | } |
| 30 | return 0; |
| 31 | } |
| 32 | |
| 33 | //------------------------------------------------------------------------------ |
| 34 | int TestOBJReaderRelative(int argc, char* argv[]) |
no test coverage detected