Minor code refactoring to unit tests

このコミットが含まれているのは:
Sergio Pedri committed 2021-05-13 13:19:33 +02:00
1 親 a5f77cbf79
コミット c9ff2c5baf
3ファイル変更
+17 -28

検索条件に一致するファイルはありません

+2 -2
ファイルの表示
@@ -81,7 +81,7 @@ namespace ComputeSharp.Tests
device.Get().For(sampled.Width, sampled.Height, new SamplingComputeShader(source, destination));
using var processed = destination.ToImage();
using var processed = destination.ToImage<Rgba32, ImageSharpRgba32>();
ImagingTests.TolerantImageComparer.AssertEqual(sampled, processed, 0.0000017f);
}
@@ -114,7 +114,7 @@ namespace ComputeSharp.Tests
device.Get().ForEach(destination, new SamplingPixelShader(source));
using var processed = destination.ToImage();
using var processed = destination.ToImage<Rgba32, ImageSharpRgba32>();
ImagingTests.TolerantImageComparer.AssertEqual(sampled, processed, 0.0000017f);
}