Skip to content

Commit a811784

Browse files
JimBobSquarePantsfrg2089
authored andcommitted
Update TgaFileHeaderTests.cs
1 parent 79f5387 commit a811784

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/ImageSharp.Tests/Formats/Tga/TgaFileHeaderTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ namespace SixLabors.ImageSharp.Tests.Formats.Tga;
99
[Trait("Format", "Tga")]
1010
public class TgaFileHeaderTests
1111
{
12+
// TODO: Some of these clash with the ICO magic bytes. Check correctness.
13+
// https://en.wikipedia.org/wiki/Truevision_TGA#Header
1214
[Theory]
1315
[InlineData(new byte[] { 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 250, 0, 195, 0, 32, 8 })] // invalid tga image type.
1416
[InlineData(new byte[] { 0, 3, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 250, 0, 195, 0, 32, 8 })] // invalid colormap type.

0 commit comments

Comments
 (0)