first commit

This commit is contained in:
Beyhan Oğur
2026-09-03 04:45:36 +03:00
commit d5f52cc3d3
1038 changed files with 169579 additions and 0 deletions
@@ -0,0 +1,41 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using static ClassicAssist.Data.Macros.Commands.ListCommands;
namespace ClassicAssist.Tests.MacroCommands
{
[TestClass]
public class ListCommandTests
{
[TestInitialize]
public void Initialize()
{
CreateList( "shmoo" );
PushList( "shmoo", 0 );
PushList( "shmoo", 1 );
}
[TestMethod]
public void ListExistsWillReturnTrue()
{
Assert.IsTrue( ListExists( "shmoo" ) );
}
[TestMethod]
public void GetListWillReturnArray()
{
Assert.IsTrue( GetList( "shmoo" ) is int[] _ );
}
[TestMethod]
public void ListCountWillReturnCorrect()
{
Assert.AreEqual( 2, List( "shmoo" ) );
}
[TestCleanup]
public void Cleanup()
{
RemoveList( "shmoo" );
}
}
}