------------------------------------------------------------------------------
| 1081 | |
| 1082 | //------------------------------------------------------------------------------ |
| 1083 | int vtkTesting::Test(int argc, char* argv[], vtkRenderWindow* rw, double thresh) |
| 1084 | { |
| 1085 | vtkNew<vtkTesting> testing; |
| 1086 | for (int i = 0; i < argc; ++i) |
| 1087 | { |
| 1088 | testing->AddArgument(argv[i]); |
| 1089 | } |
| 1090 | |
| 1091 | if (testing->IsInteractiveModeSpecified()) |
| 1092 | { |
| 1093 | return DO_INTERACTOR; |
| 1094 | } |
| 1095 | |
| 1096 | if (testing->IsValidImageSpecified()) |
| 1097 | { |
| 1098 | testing->SetRenderWindow(rw); |
| 1099 | |
| 1100 | return testing->RegressionTest(thresh, std::cout); |
| 1101 | } |
| 1102 | return NOT_RUN; |
| 1103 | } |
| 1104 | //------------------------------------------------------------------------------ |
| 1105 | int vtkTesting::CompareAverageOfL2Norm(vtkDataArray* daA, vtkDataArray* daB, double tol) |
| 1106 | { |
nothing calls this directly
no test coverage detected