diff --git a/TJC.StateMachine.Tests/Mocks/RevolverStates.cs b/TJC.StateMachine.Tests/Mocks/RevolverStates.cs index 7aa9d3b..689e5ce 100644 --- a/TJC.StateMachine.Tests/Mocks/RevolverStates.cs +++ b/TJC.StateMachine.Tests/Mocks/RevolverStates.cs @@ -3,6 +3,6 @@ internal enum RevolverStates { Loaded, - Empty + Empty, } -} \ No newline at end of file +} diff --git a/TJC.StateMachine.Tests/TJC.StateMachine.Tests.csproj b/TJC.StateMachine.Tests/TJC.StateMachine.Tests.csproj index 3051be1..f3a3756 100644 --- a/TJC.StateMachine.Tests/TJC.StateMachine.Tests.csproj +++ b/TJC.StateMachine.Tests/TJC.StateMachine.Tests.csproj @@ -1,5 +1,4 @@ - net8.0 enable @@ -8,20 +7,16 @@ true Tests - - - - diff --git a/TJC.StateMachine.Tests/Tests/StatePropertyAccessibility.cs b/TJC.StateMachine.Tests/Tests/StatePropertyAccessibility.cs index 83d4f4a..ec8d0bf 100644 --- a/TJC.StateMachine.Tests/Tests/StatePropertyAccessibility.cs +++ b/TJC.StateMachine.Tests/Tests/StatePropertyAccessibility.cs @@ -9,18 +9,24 @@ public class StatePropertyAccessibility [TestMethod] public void EnsurePropertyStateIsNotPubliclyAccessible() { - var prop = typeof(StateMachineBase).GetProperty("State", BindingFlags.Instance | BindingFlags.Public); + var prop = typeof(StateMachineBase).GetProperty( + "State", + BindingFlags.Instance | BindingFlags.Public + ); Assert.IsNull(prop); } [TestMethod] public void EnsurePropertyStateIsProtectedAccessible() { - var prop = typeof(StateMachineBase).GetProperty("State", BindingFlags.Instance | BindingFlags.NonPublic); + var prop = typeof(StateMachineBase).GetProperty( + "State", + BindingFlags.Instance | BindingFlags.NonPublic + ); Assert.IsNotNull(prop); var getter = prop.GetMethod; Assert.IsNotNull(getter); Assert.IsTrue(getter.IsFamily); } } -} \ No newline at end of file +} diff --git a/TJC.StateMachine/TJC.StateMachine.csproj b/TJC.StateMachine/TJC.StateMachine.csproj index 7549ee1..f1d0f3c 100644 --- a/TJC.StateMachine/TJC.StateMachine.csproj +++ b/TJC.StateMachine/TJC.StateMachine.csproj @@ -44,7 +44,11 @@ - + @@ -52,13 +56,17 @@ - - + @@ -66,18 +74,18 @@ - - + @@ -99,6 +107,11 @@ - +