Skip to content

Commit

Permalink
build box didn't like either. baffled. created new files with new names.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cathal McHale committed Jul 3, 2019
1 parent ea8f792 commit 46f56cf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion test/Ray.Domain.Test/Ray.Domain.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</ItemGroup>

<ItemGroup>
<None Update="features\tuples\BasicOperations.feature">
<None Update="features\tuples\BasicMathOps.feature">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="features\tuples\ComparePointsAndVectors.feature">
Expand Down
Original file line number Diff line number Diff line change
@@ -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();
Expand Down
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 46f56cf

Please sign in to comment.