mirror of
https://gitlab.com/Syroot/Worms.git
synced 2025-04-10 19:30:06 +03:00
28 lines
860 B
C#
28 lines
860 B
C#
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
using Syroot.Worms.Test.Core;
|
|
|
|
namespace Syroot.Worms.Test
|
|
{
|
|
/// <summary>
|
|
/// Represents a collection of tests for the <see cref="RiffPalette"/> class.
|
|
/// </summary>
|
|
[TestClass]
|
|
public class PaletteTests
|
|
{
|
|
// ---- METHODS (PUBLIC) ---------------------------------------------------------------------------------------
|
|
|
|
/// <summary>
|
|
/// Loads all files found in any game directories.
|
|
/// </summary>
|
|
[TestMethod]
|
|
public void LoadPalettes()
|
|
{
|
|
Tools.TestFiles<RiffPalette>(Game.Team17, "*.pal", new string[]
|
|
{
|
|
"wwp.pal", // Contains 4 bytes of trash after the data chunk.
|
|
"wwpmaped.pal" // Contains 4 bytes of trash after the data chunk.
|
|
});
|
|
}
|
|
}
|
|
}
|