Merge pull request #317 from Sergio0694/dev/fix-test-assembly-initialize
Fix unit tests assembly initialize methods
このコミットが含まれているのは:
3ファイル変更
+4
-3
検索条件に一致するファイルはありません
+1
@@ -17,6 +17,7 @@ partial class ShaderMethodSourceAttribute : Attribute
|
||||
{
|
||||
if (mapping.Add(constant.Key))
|
||||
{
|
||||
builder.Append('\n');
|
||||
builder.Append("#define ");
|
||||
builder.Append(constant.Key);
|
||||
builder.Append(' ');
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace ComputeSharp.D2D1.Tests;
|
||||
public class EndToEndTests
|
||||
{
|
||||
[AssemblyInitialize]
|
||||
public static void ConfigureImageSharp()
|
||||
public static void ConfigureImageSharp(TestContext _)
|
||||
{
|
||||
Configuration.Default.PreferContiguousImageBuffers = true;
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace ComputeSharp.Tests;
|
||||
public class ImagingTests
|
||||
{
|
||||
[AssemblyInitialize]
|
||||
public static void ConfigureImageSharp()
|
||||
public static void ConfigureImageSharp(TestContext _)
|
||||
{
|
||||
Configuration.Default.PreferContiguousImageBuffers = true;
|
||||
}
|
||||
@@ -516,7 +516,7 @@ public class ImagingTests
|
||||
|
||||
original.Save(expectedPath);
|
||||
|
||||
TolerantImageComparer.AssertEqual(expectedPath, actualPath, 0.00004037f);
|
||||
TolerantImageComparer.AssertEqual(expectedPath, actualPath, 0.00004038f);
|
||||
}
|
||||
|
||||
[CombinatorialTestMethod]
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする