mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
unittests: relaxed test thresholds for Ascent
This commit is contained in:
parent
0b3bef32b0
commit
3956115969
@ -124,7 +124,7 @@ VTKM_CONT vtkm::cont::DataSet ImageDifference::DoExecute(const vtkm::cont::DataS
|
||||
"Difference within threshold: "
|
||||
<< this->ImageDiffWithinThreshold
|
||||
<< ", for pixels outside threshold: " << errorPixels.GetNumberOfValues()
|
||||
<< ", with a total number of pixesl: " << thresholdOutput.GetNumberOfValues()
|
||||
<< ", with a total number of pixels: " << thresholdOutput.GetNumberOfValues()
|
||||
<< ", and an allowable pixel error ratio: " << this->AllowedPixelErrorRatio
|
||||
<< ", with a total summed threshold error: "
|
||||
<< vtkm::cont::Algorithm::Reduce(errorPixels, static_cast<FloatDefault>(0)));
|
||||
|
@ -49,6 +49,7 @@ void TestAmrArraysExecute(int dim, int numberOfLevels, int cellsPerDimension)
|
||||
// result.PrintSummary(std::cout);
|
||||
|
||||
vtkm::rendering::testing::RenderTestOptions testOptions;
|
||||
testOptions.AllowedPixelErrorRatio = 0.001f;
|
||||
testOptions.ColorTable = vtkm::cont::ColorTable("inferno");
|
||||
testOptions.EnableAnnotations = false;
|
||||
vtkm::rendering::testing::RenderTest(
|
||||
|
@ -28,6 +28,7 @@ void RenderTests()
|
||||
vtkm::cont::testing::MakeTestDataSet maker;
|
||||
|
||||
vtkm::rendering::testing::RenderTestOptions testOptions;
|
||||
testOptions.AllowedPixelErrorRatio = 0.002f;
|
||||
testOptions.Mapper = vtkm::rendering::testing::MapperType::Connectivity;
|
||||
testOptions.AllowAnyDevice = false;
|
||||
testOptions.ColorTable = vtkm::cont::ColorTable::Preset::Inferno;
|
||||
|
Loading…
Reference in New Issue
Block a user