diff --git a/test/Ray.Domain.Test/Ray.Domain.Test.csproj b/test/Ray.Domain.Test/Ray.Domain.Test.csproj index 6f0368b..dee8224 100644 --- a/test/Ray.Domain.Test/Ray.Domain.Test.csproj +++ b/test/Ray.Domain.Test/Ray.Domain.Test.csproj @@ -21,7 +21,7 @@ - + PreserveNewest diff --git a/test/Ray.Domain.Test/Tuples/BasicOperationsTests.cs b/test/Ray.Domain.Test/Tuples/BasicMathOpsTests.cs similarity index 87% rename from test/Ray.Domain.Test/Tuples/BasicOperationsTests.cs rename to test/Ray.Domain.Test/Tuples/BasicMathOpsTests.cs index 2decec4..ff0fd88 100644 --- a/test/Ray.Domain.Test/Tuples/BasicOperationsTests.cs +++ b/test/Ray.Domain.Test/Tuples/BasicMathOpsTests.cs @@ -1,11 +1,11 @@ -using System.Numerics; +using System.Numerics; using Xunit; using Xunit.Gherkin.Quick; namespace Ray.Domain.Test.Tuples { - [FeatureFile("./features/tuples/BasicOperations.feature")] - public sealed class BasicOperationsTests : Feature + [FeatureFile("./features/tuples/BasicMathOps.feature")] + public sealed class BasicMathOpsTests : Feature { private Vector4 _firstTuple = new Vector4(), _secondTuple = new Vector4(); diff --git a/test/Ray.Domain.Test/features/tuples/BasicOperations.feature b/test/Ray.Domain.Test/features/tuples/BasicMathOps.feature similarity index 83% rename from test/Ray.Domain.Test/features/tuples/BasicOperations.feature rename to test/Ray.Domain.Test/features/tuples/BasicMathOps.feature index 9337bb9..237a542 100644 --- a/test/Ray.Domain.Test/features/tuples/BasicOperations.feature +++ b/test/Ray.Domain.Test/features/tuples/BasicMathOps.feature @@ -1,11 +1,9 @@ -Feature: BasicTuplesMathFeature +Feature: BasicTuplesMathFeature In order to move around 3D space As a Ray Tracer I want the ability to perform basic math on points and vectors -Background: - Given a1 = tuple 3 -2 5 1 - Scenario​: Adding two tuples + Given a1 = tuple 3 -2 5 1 ​​And​ a2 = tuple -2 3 1 0 ​​Then​ a1 plus a2 = tuple 1 1 6 1