diff --git a/Solver/ActionSet.cs b/Solver/ActionSet.cs index 24b135d..b7cc97d 100644 --- a/Solver/ActionSet.cs +++ b/Solver/ActionSet.cs @@ -9,7 +9,7 @@ public struct ActionSet { private uint bits; - public static readonly ActionType[] AcceptedActions = new[] + internal static ReadOnlySpan AcceptedActions => new[] { ActionType.StandardTouchCombo, ActionType.AdvancedTouchCombo, diff --git a/Solver/Craftimizer.Solver.csproj b/Solver/Craftimizer.Solver.csproj index bf16279..eaea55b 100644 --- a/Solver/Craftimizer.Solver.csproj +++ b/Solver/Craftimizer.Solver.csproj @@ -20,6 +20,12 @@ + + + <_Parameter1>Craftimizer.Test + + + $(DefineConstants);IS_DETERMINISTIC diff --git a/Test/Solver/ActionSet.cs b/Test/Solver/ActionSet.cs index 0f4c9df..fd8c8a1 100644 --- a/Test/Solver/ActionSet.cs +++ b/Test/Solver/ActionSet.cs @@ -1,5 +1,3 @@ -using Craftimizer.Simulator.Actions; - namespace Craftimizer.Test.Solver; [TestClass] diff --git a/Test/Usings.cs b/Test/Usings.cs index da624f8..c58173e 100644 --- a/Test/Usings.cs +++ b/Test/Usings.cs @@ -1,3 +1,4 @@ global using Microsoft.VisualStudio.TestTools.UnitTesting; global using Craftimizer.Solver; global using Craftimizer.Simulator; +global using Craftimizer.Simulator.Actions;