Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sudhanshu Sane
VTK-m
Commits
fda91137
Commit
fda91137
authored
Dec 31, 2018
by
Robert Maynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vtkm::filter now run each test with an explicit device adapter set
This allows the filters to be tested with each device
parent
c4bf46ec
Changes
47
Hide whitespace changes
Inline
Side-by-side
Showing
47 changed files
with
92 additions
and
92 deletions
+92
-92
vtkm/Pair.h
vtkm/Pair.h
+1
-0
vtkm/filter/testing/CMakeLists.txt
vtkm/filter/testing/CMakeLists.txt
+1
-1
vtkm/filter/testing/UnitTestCellAverageFilter.cxx
vtkm/filter/testing/UnitTestCellAverageFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestCellMeasuresFilter.cxx
vtkm/filter/testing/UnitTestCellMeasuresFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestCleanGrid.cxx
vtkm/filter/testing/UnitTestCleanGrid.cxx
+2
-2
vtkm/filter/testing/UnitTestClipWithFieldFilter.cxx
vtkm/filter/testing/UnitTestClipWithFieldFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestClipWithImplicitFunctionFilter.cxx
...filter/testing/UnitTestClipWithImplicitFunctionFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestContourTreeUniformAugmentedFilter.cxx
...ter/testing/UnitTestContourTreeUniformAugmentedFilter.cxx
+2
-3
vtkm/filter/testing/UnitTestContourTreeUniformFilter.cxx
vtkm/filter/testing/UnitTestContourTreeUniformFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestCoordinateSystemTransform.cxx
vtkm/filter/testing/UnitTestCoordinateSystemTransform.cxx
+2
-2
vtkm/filter/testing/UnitTestCrossProductFilter.cxx
vtkm/filter/testing/UnitTestCrossProductFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestDotProductFilter.cxx
vtkm/filter/testing/UnitTestDotProductFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestEntropyFilter.cxx
vtkm/filter/testing/UnitTestEntropyFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestExternalFacesFilter.cxx
vtkm/filter/testing/UnitTestExternalFacesFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestExtractGeometryFilter.cxx
vtkm/filter/testing/UnitTestExtractGeometryFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestExtractPointsFilter.cxx
vtkm/filter/testing/UnitTestExtractPointsFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestExtractStructuredFilter.cxx
vtkm/filter/testing/UnitTestExtractStructuredFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestFieldMetadata.cxx
vtkm/filter/testing/UnitTestFieldMetadata.cxx
+2
-2
vtkm/filter/testing/UnitTestFieldSelection.cxx
vtkm/filter/testing/UnitTestFieldSelection.cxx
+2
-2
vtkm/filter/testing/UnitTestFieldToColors.cxx
vtkm/filter/testing/UnitTestFieldToColors.cxx
+2
-2
vtkm/filter/testing/UnitTestGhostZone.cxx
vtkm/filter/testing/UnitTestGhostZone.cxx
+2
-2
vtkm/filter/testing/UnitTestGradient.cxx
vtkm/filter/testing/UnitTestGradient.cxx
+2
-2
vtkm/filter/testing/UnitTestHistogramFilter.cxx
vtkm/filter/testing/UnitTestHistogramFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestLagrangianFilter.cxx
vtkm/filter/testing/UnitTestLagrangianFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestMarchingCubesFilter.cxx
vtkm/filter/testing/UnitTestMarchingCubesFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestMaskFilter.cxx
vtkm/filter/testing/UnitTestMaskFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestMaskPointsFilter.cxx
vtkm/filter/testing/UnitTestMaskPointsFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestMultiBlockFilters.cxx
vtkm/filter/testing/UnitTestMultiBlockFilters.cxx
+2
-2
vtkm/filter/testing/UnitTestMultiBlockHistogramFilter.cxx
vtkm/filter/testing/UnitTestMultiBlockHistogramFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestNDEntropyFilter.cxx
vtkm/filter/testing/UnitTestNDEntropyFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestNDHistogramFilter.cxx
vtkm/filter/testing/UnitTestNDHistogramFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestPointAverageFilter.cxx
vtkm/filter/testing/UnitTestPointAverageFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestPointElevationFilter.cxx
vtkm/filter/testing/UnitTestPointElevationFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestPointTransform.cxx
vtkm/filter/testing/UnitTestPointTransform.cxx
+2
-2
vtkm/filter/testing/UnitTestProbe.cxx
vtkm/filter/testing/UnitTestProbe.cxx
+2
-2
vtkm/filter/testing/UnitTestSplitSharpEdgesFilter.cxx
vtkm/filter/testing/UnitTestSplitSharpEdgesFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestStreamlineFilter.cxx
vtkm/filter/testing/UnitTestStreamlineFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestSurfaceNormalsFilter.cxx
vtkm/filter/testing/UnitTestSurfaceNormalsFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestTetrahedralizeFilter.cxx
vtkm/filter/testing/UnitTestTetrahedralizeFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestThresholdFilter.cxx
vtkm/filter/testing/UnitTestThresholdFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestThresholdPointsFilter.cxx
vtkm/filter/testing/UnitTestThresholdPointsFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestTriangulateFilter.cxx
vtkm/filter/testing/UnitTestTriangulateFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestVectorMagnitudeFilter.cxx
vtkm/filter/testing/UnitTestVectorMagnitudeFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestVertexClusteringFilter.cxx
vtkm/filter/testing/UnitTestVertexClusteringFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestWarpScalarFilter.cxx
vtkm/filter/testing/UnitTestWarpScalarFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestWarpVectorFilter.cxx
vtkm/filter/testing/UnitTestWarpVectorFilter.cxx
+2
-2
vtkm/filter/testing/UnitTestZFP.cxx
vtkm/filter/testing/UnitTestZFP.cxx
+2
-2
No files found.
vtkm/Pair.h
View file @
fda91137
...
...
@@ -73,6 +73,7 @@ struct Pair
{
}
VTKM_SUPPRESS_EXEC_WARNINGS
VTKM_EXEC_CONT
Pair
(
FirstType
&&
firstSrc
,
SecondType
&&
secondSrc
)
:
first
(
std
::
move
(
firstSrc
))
...
...
vtkm/filter/testing/CMakeLists.txt
View file @
fda91137
...
...
@@ -66,4 +66,4 @@ set(unit_tests
UnitTestZFP.cxx
)
vtkm_unit_tests
(
SOURCES
${
unit_tests
}
)
vtkm_unit_tests
(
SOURCES
${
unit_tests
}
ALL_BACKENDS
)
vtkm/filter/testing/UnitTestCellAverageFilter.cxx
View file @
fda91137
...
...
@@ -143,7 +143,7 @@ void TestCellAverage()
}
}
int
UnitTestCellAverageFilter
(
int
,
char
*
[])
int
UnitTestCellAverageFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestCellAverage
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestCellAverage
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestCellMeasuresFilter.cxx
View file @
fda91137
...
...
@@ -102,7 +102,7 @@ void TestCellMeasures()
}
// anonymous namespace
int
UnitTestCellMeasuresFilter
(
int
,
char
*
[])
int
UnitTestCellMeasuresFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestCellMeasures
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestCellMeasures
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestCleanGrid.cxx
View file @
fda91137
...
...
@@ -81,7 +81,7 @@ void RunTest()
}
// anonymous namespace
int
UnitTestCleanGrid
(
int
,
char
*
[])
int
UnitTestCleanGrid
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
RunTest
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
RunTest
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestClipWithFieldFilter.cxx
View file @
fda91137
...
...
@@ -98,7 +98,7 @@ void TestClip()
}
}
int
UnitTestClipWithFieldFilter
(
int
,
char
*
[])
int
UnitTestClipWithFieldFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestClip
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestClip
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestClipWithImplicitFunctionFilter.cxx
View file @
fda91137
...
...
@@ -139,7 +139,7 @@ void TestClip()
}
// anonymous namespace
int
UnitTestClipWithImplicitFunctionFilter
(
int
,
char
*
[])
int
UnitTestClipWithImplicitFunctionFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestClip
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestClip
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestContourTreeUniformAugmentedFilter.cxx
View file @
fda91137
...
...
@@ -261,8 +261,7 @@ public:
};
}
int
UnitTestContourTreeUniformAugmentedFilter
(
int
,
char
*
[])
int
UnitTestContourTreeUniformAugmentedFilter
(
int
argc
,
char
*
argv
[])
{
vtkm
::
cont
::
GetGlobalRuntimeDeviceTracker
().
ForceDevice
(
VTKM_DEFAULT_DEVICE_ADAPTER_TAG
());
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestContourTreeUniform
());
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestContourTreeUniform
(),
argc
,
argv
);
}
vtkm/filter/testing/UnitTestContourTreeUniformFilter.cxx
View file @
fda91137
...
...
@@ -168,7 +168,7 @@ public:
};
}
int
UnitTestContourTreeUniformFilter
(
int
,
char
*
[])
int
UnitTestContourTreeUniformFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestContourTreeUniform
());
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestContourTreeUniform
()
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestCoordinateSystemTransform.cxx
View file @
fda91137
...
...
@@ -198,7 +198,7 @@ void TestCoordinateSystemTransform()
}
int
UnitTestCoordinateSystemTransform
(
int
,
char
*
[])
int
UnitTestCoordinateSystemTransform
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestCoordinateSystemTransform
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestCoordinateSystemTransform
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestCrossProductFilter.cxx
View file @
fda91137
...
...
@@ -221,7 +221,7 @@ void TestCrossProduct()
}
}
// anonymous namespace
int
UnitTestCrossProductFilter
(
int
,
char
*
[])
int
UnitTestCrossProductFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestCrossProduct
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestCrossProduct
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestDotProductFilter.cxx
View file @
fda91137
...
...
@@ -172,7 +172,7 @@ void TestDotProduct()
}
}
// anonymous namespace
int
UnitTestDotProductFilter
(
int
,
char
*
[])
int
UnitTestDotProductFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestDotProduct
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestDotProduct
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestEntropyFilter.cxx
View file @
fda91137
...
...
@@ -136,7 +136,7 @@ void TestEntropy()
}
// TestFieldEntropy
}
int
UnitTestEntropyFilter
(
int
,
char
*
[])
int
UnitTestEntropyFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestEntropy
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestEntropy
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestExternalFacesFilter.cxx
View file @
fda91137
...
...
@@ -154,7 +154,7 @@ void TestExternalFacesFilter()
}
// anonymous namespace
int
UnitTestExternalFacesFilter
(
int
,
char
*
[])
int
UnitTestExternalFacesFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestExternalFacesFilter
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestExternalFacesFilter
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestExtractGeometryFilter.cxx
View file @
fda91137
...
...
@@ -152,7 +152,7 @@ public:
};
}
int
UnitTestExtractGeometryFilter
(
int
,
char
*
[])
int
UnitTestExtractGeometryFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestingExtractGeometry
());
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestingExtractGeometry
()
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestExtractPointsFilter.cxx
View file @
fda91137
...
...
@@ -169,7 +169,7 @@ public:
};
}
int
UnitTestExtractPointsFilter
(
int
,
char
*
[])
int
UnitTestExtractPointsFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestingExtractPoints
());
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestingExtractPoints
()
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestExtractStructuredFilter.cxx
View file @
fda91137
...
...
@@ -527,7 +527,7 @@ public:
};
}
int
UnitTestExtractStructuredFilter
(
int
,
char
*
[])
int
UnitTestExtractStructuredFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestingExtractStructured
());
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestingExtractStructured
()
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestFieldMetadata.cxx
View file @
fda91137
...
...
@@ -89,7 +89,7 @@ void TestFieldMetadata()
}
}
int
UnitTestFieldMetadata
(
int
,
char
*
[])
int
UnitTestFieldMetadata
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestFieldMetadata
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestFieldMetadata
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestFieldSelection.cxx
View file @
fda91137
...
...
@@ -175,7 +175,7 @@ void TestFieldSelection()
}
}
int
UnitTestFieldSelection
(
int
,
char
*
[])
int
UnitTestFieldSelection
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestFieldSelection
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestFieldSelection
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestFieldToColors.cxx
View file @
fda91137
...
...
@@ -91,7 +91,7 @@ void TestFieldToColors()
}
}
int
UnitTestFieldToColors
(
int
,
char
*
[])
int
UnitTestFieldToColors
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestFieldToColors
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestFieldToColors
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestGhostZone.cxx
View file @
fda91137
...
...
@@ -289,7 +289,7 @@ void TestGhostZone()
}
}
int
UnitTestGhostZone
(
int
,
char
*
[])
int
UnitTestGhostZone
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestGhostZone
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestGhostZone
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestGradient.cxx
View file @
fda91137
...
...
@@ -248,7 +248,7 @@ void TestGradient()
}
}
int
UnitTestGradient
(
int
,
char
*
[])
int
UnitTestGradient
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestGradient
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestGradient
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestHistogramFilter.cxx
View file @
fda91137
...
...
@@ -349,7 +349,7 @@ void TestHistogram()
}
// TestFieldHistogram
int
UnitTestHistogramFilter
(
int
,
char
*
[])
int
UnitTestHistogramFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestHistogram
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestHistogram
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestLagrangianFilter.cxx
View file @
fda91137
...
...
@@ -108,7 +108,7 @@ void TestLagrangian()
TestLagrangianFilterMultiStepInterval
();
}
int
UnitTestLagrangianFilter
(
int
,
char
*
[])
int
UnitTestLagrangianFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestLagrangian
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestLagrangian
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestMarchingCubesFilter.cxx
View file @
fda91137
...
...
@@ -517,7 +517,7 @@ void TestMarchingCubesFilter()
}
// anonymous namespace
int
UnitTestMarchingCubesFilter
(
int
,
char
*
[])
int
UnitTestMarchingCubesFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
vtkm_ut_mc_filter
::
TestMarchingCubesFilter
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
vtkm_ut_mc_filter
::
TestMarchingCubesFilter
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestMaskFilter.cxx
View file @
fda91137
...
...
@@ -108,7 +108,7 @@ public:
};
}
int
UnitTestMaskFilter
(
int
,
char
*
[])
int
UnitTestMaskFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestingMask
());
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestingMask
()
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestMaskPointsFilter.cxx
View file @
fda91137
...
...
@@ -86,7 +86,7 @@ public:
};
}
int
UnitTestMaskPointsFilter
(
int
,
char
*
[])
int
UnitTestMaskPointsFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestingMaskPoints
());
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestingMaskPoints
()
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestMultiBlockFilters.cxx
View file @
fda91137
...
...
@@ -130,7 +130,7 @@ void TestMultiBlockFilters()
Result_Verify
(
result
,
cellAverage
,
Blocks
,
std
::
string
(
"pointvar"
));
}
int
UnitTestMultiBlockFilters
(
int
,
char
*
[])
int
UnitTestMultiBlockFilters
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestMultiBlockFilters
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestMultiBlockFilters
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestMultiBlockHistogramFilter.cxx
View file @
fda91137
...
...
@@ -130,7 +130,7 @@ static void TestMultiBlockHistogram()
std
::
cout
<<
std
::
endl
;
};
int
UnitTestMultiBlockHistogramFilter
(
int
,
char
*
[])
int
UnitTestMultiBlockHistogramFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestMultiBlockHistogram
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestMultiBlockHistogram
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestNDEntropyFilter.cxx
View file @
fda91137
...
...
@@ -208,7 +208,7 @@ void RunTest()
}
// anonymous namespace
int
UnitTestNDEntropyFilter
(
int
,
char
*
[])
int
UnitTestNDEntropyFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
RunTest
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
RunTest
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestNDHistogramFilter.cxx
View file @
fda91137
...
...
@@ -125,7 +125,7 @@ void RunTest()
}
// anonymous namespace
int
UnitTestNDHistogramFilter
(
int
,
char
*
[])
int
UnitTestNDHistogramFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
RunTest
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
RunTest
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestPointAverageFilter.cxx
View file @
fda91137
...
...
@@ -142,7 +142,7 @@ void TestPointAverage()
}
}
int
UnitTestPointAverageFilter
(
int
,
char
*
[])
int
UnitTestPointAverageFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestPointAverage
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestPointAverage
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestPointElevationFilter.cxx
View file @
fda91137
...
...
@@ -138,7 +138,7 @@ void TestPointElevation()
TestPointElevationWithPolicy
();
}
int
UnitTestPointElevationFilter
(
int
,
char
*
[])
int
UnitTestPointElevationFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestPointElevation
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestPointElevation
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestPointTransform.cxx
View file @
fda91137
...
...
@@ -203,7 +203,7 @@ void TestPointTransform()
}
int
UnitTestPointTransform
(
int
,
char
*
[])
int
UnitTestPointTransform
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestPointTransform
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestPointTransform
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestProbe.cxx
View file @
fda91137
...
...
@@ -219,7 +219,7 @@ public:
}
// anonymous namespace
int
UnitTestProbe
(
int
,
char
*
[])
int
UnitTestProbe
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestProbe
::
Run
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestProbe
::
Run
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestSplitSharpEdgesFilter.cxx
View file @
fda91137
...
...
@@ -219,7 +219,7 @@ void TestSplitSharpEdgesFilter()
}
// anonymous namespace
int
UnitTestSplitSharpEdgesFilter
(
int
,
char
*
[])
int
UnitTestSplitSharpEdgesFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestSplitSharpEdgesFilter
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestSplitSharpEdgesFilter
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestStreamlineFilter.cxx
View file @
fda91137
...
...
@@ -74,7 +74,7 @@ void TestStreamline()
VTKM_TEST_ASSERT
(
dcells
.
GetNumberOfCells
()
==
3
,
"Wrong number of cells"
);
}
int
UnitTestStreamlineFilter
(
int
,
char
*
[])
int
UnitTestStreamlineFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestStreamline
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestStreamline
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestSurfaceNormalsFilter.cxx
View file @
fda91137
...
...
@@ -101,7 +101,7 @@ void TestSurfaceNormals()
}
// anonymous namespace
int
UnitTestSurfaceNormalsFilter
(
int
,
char
*
[])
int
UnitTestSurfaceNormalsFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestSurfaceNormals
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestSurfaceNormals
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestTetrahedralizeFilter.cxx
View file @
fda91137
...
...
@@ -87,7 +87,7 @@ public:
};
}
int
UnitTestTetrahedralizeFilter
(
int
,
char
*
[])
int
UnitTestTetrahedralizeFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestingTetrahedralize
());
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestingTetrahedralize
()
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestThresholdFilter.cxx
View file @
fda91137
...
...
@@ -137,7 +137,7 @@ public:
};
}
int
UnitTestThresholdFilter
(
int
,
char
*
[])
int
UnitTestThresholdFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestingThreshold
());
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestingThreshold
()
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestThresholdPointsFilter.cxx
View file @
fda91137
...
...
@@ -129,7 +129,7 @@ public:
};
}
int
UnitTestThresholdPointsFilter
(
int
,
char
*
[])
int
UnitTestThresholdPointsFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestingThresholdPoints
());
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestingThresholdPoints
()
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestTriangulateFilter.cxx
View file @
fda91137
...
...
@@ -81,7 +81,7 @@ public:
};
}
int
UnitTestTriangulateFilter
(
int
,
char
*
[])
int
UnitTestTriangulateFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestingTriangulate
());
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestingTriangulate
()
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestVectorMagnitudeFilter.cxx
View file @
fda91137
...
...
@@ -67,7 +67,7 @@ void TestVectorMagnitude()
}
}
int
UnitTestVectorMagnitudeFilter
(
int
,
char
*
[])
int
UnitTestVectorMagnitudeFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestVectorMagnitude
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestVectorMagnitude
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestVertexClusteringFilter.cxx
View file @
fda91137
...
...
@@ -109,7 +109,7 @@ void TestVertexClustering()
}
}
int
UnitTestVertexClusteringFilter
(
int
,
char
*
[])
int
UnitTestVertexClusteringFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestVertexClustering
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestVertexClustering
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestWarpScalarFilter.cxx
View file @
fda91137
...
...
@@ -127,7 +127,7 @@ void TestWarpScalarFilter()
}
}
int
UnitTestWarpScalarFilter
(
int
,
char
*
[])
int
UnitTestWarpScalarFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestWarpScalarFilter
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestWarpScalarFilter
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestWarpVectorFilter.cxx
View file @
fda91137
...
...
@@ -131,7 +131,7 @@ void TestWarpVectorFilter()
}
}
int
UnitTestWarpVectorFilter
(
int
,
char
*
[])
int
UnitTestWarpVectorFilter
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestWarpVectorFilter
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestWarpVectorFilter
,
argc
,
argv
);
}
vtkm/filter/testing/UnitTestZFP.cxx
View file @
fda91137
...
...
@@ -157,7 +157,7 @@ void TestZFPFilter()
}
}
// anonymous namespace
int
UnitTestZFP
(
int
,
char
*
[])
int
UnitTestZFP
(
int
argc
,
char
*
argv
[])
{
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
vtkm_ut_zfp_filter
::
TestZFPFilter
);
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
vtkm_ut_zfp_filter
::
TestZFPFilter
,
argc
,
argv
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment