forked from Nominom/BCnEncoder.NET
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDecodingTests.cs
More file actions
62 lines (53 loc) · 1.33 KB
/
Copy pathDecodingTests.cs
File metadata and controls
62 lines (53 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
using BCnEncTests.Support;
using Xunit;
namespace BCnEncTests
{
public class DecodingTests
{
[Fact]
public void Bc1Decode()
{
TestHelper.ExecuteDecodingTest(KtxLoader.TestDecompressBc1, "decoding_test_bc1.png");
}
[Fact]
public void Bc1AlphaDecode()
{
TestHelper.ExecuteDecodingTest(KtxLoader.TestDecompressBc1A, "decoding_test_bc1a.png");
}
[Fact]
public void Bc2Decode()
{
TestHelper.ExecuteDecodingTest(KtxLoader.TestDecompressBc2, "decoding_test_bc2.png");
}
[Fact]
public void Bc3Decode()
{
TestHelper.ExecuteDecodingTest(KtxLoader.TestDecompressBc3, "decoding_test_bc3.png");
}
[Fact]
public void Bc4Decode()
{
TestHelper.ExecuteDecodingTest(KtxLoader.TestDecompressBc4Unorm, "decoding_test_bc4.png");
}
[Fact]
public void Bc5Decode()
{
TestHelper.ExecuteDecodingTest(KtxLoader.TestDecompressBc5Unorm, "decoding_test_bc5.png");
}
[Fact]
public void Bc7DecodeRgb()
{
TestHelper.ExecuteDecodingTest(KtxLoader.TestDecompressBc7Rgb, "decoding_test_bc7_rgb.png");
}
[Fact]
public void Bc7DecodeUnorm()
{
TestHelper.ExecuteDecodingTest(KtxLoader.TestDecompressBc7Unorm, "decoding_test_bc7_unorm.png");
}
[Fact]
public void Bc7DecodeEveryBlockType()
{
TestHelper.ExecuteDecodingTest(KtxLoader.TestDecompressBc7Types, "decoding_test_bc7_types.png");
}
}
}