Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,22 @@ public static void GivenSameValueThenReturnTrue()
actual.ShouldBeTrue();
}

[Fact]
public static void GivenEquivalentValuesThenReturnTrue()
{
// Arrange
int[] leftValues = [1, 2, 3];
int[] rightValues = [1, 2, 3];
OutterForArray<int>.Inner left = new(leftValues);
OutterForArray<int>.Inner right = new(rightValues);

// Act
bool actual = left == right;

// Assert
actual.ShouldBeTrue();
}

[Fact]
public static void GivenDifferentValuesThenReturnFalse()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,22 @@ public static void GivenSameValueThenReturnFalse()
actual.ShouldBeFalse();
}

[Fact]
public static void GivenEquivalentValuesThenReturnFalse()
{
// Arrange
int[] leftValues = [1, 2, 3];
int[] rightValues = [1, 2, 3];
OutterForArray<int>.Inner left = new(leftValues);
OutterForArray<int>.Inner right = new(rightValues);

// Act
bool actual = left != right;

// Assert
actual.ShouldBeFalse();
}

[Fact]
public static void GivenDifferentValuesThenReturnTrue()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,22 @@ public static void GivenSameValueThenReturnTrue()
actual.ShouldBeTrue();
}

[Fact]
public static void GivenEquivalentValuesThenReturnTrue()
{
// Arrange
string leftValue = new(SampleValue.ToCharArray());
string rightValue = new(SampleValue.ToCharArray());
OutterForString<int>.Inner left = new(leftValue);
OutterForString<int>.Inner right = new(rightValue);

// Act
bool actual = left == right;

// Assert
actual.ShouldBeTrue();
}

[Fact]
public static void GivenDifferentValuesThenReturnFalse()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,21 @@ public static void GivenSameValueThenReturnTrue()
actual.ShouldBeTrue();
}

[Fact]
public static void GivenEquivalentValueThenReturnTrue()
{
// Arrange
string subjectValue = new(SampleValue.ToCharArray());
string comparisonValue = new(SampleValue.ToCharArray());
OutterForString<int>.Inner subject = new(subjectValue);

// Act
bool actual = subject == comparisonValue;

// Assert
actual.ShouldBeTrue();
}

[Fact]
public static void GivenDifferentValueThenReturnFalse()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,22 @@ public static void GivenSameValueThenReturnFalse()
actual.ShouldBeFalse();
}

[Fact]
public static void GivenEquivalentValuesThenReturnFalse()
{
// Arrange
string leftValue = new(SampleValue.ToCharArray());
string rightValue = new(SampleValue.ToCharArray());
OutterForString<int>.Inner left = new(leftValue);
OutterForString<int>.Inner right = new(rightValue);

// Act
bool actual = left != right;

// Assert
actual.ShouldBeFalse();
}

[Fact]
public static void GivenDifferentValuesThenReturnTrue()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,21 @@ public static void GivenSameValueThenReturnFalse()
actual.ShouldBeFalse();
}

[Fact]
public static void GivenEquivalentValueThenReturnFalse()
{
// Arrange
string subjectValue = new(SampleValue.ToCharArray());
string comparisonValue = new(SampleValue.ToCharArray());
OutterForString<int>.Inner subject = new(subjectValue);

// Act
bool actual = subject != comparisonValue;

// Assert
actual.ShouldBeFalse();
}

[Fact]
public static void GivenDifferentValueThenReturnTrue()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,22 @@ public static void GivenSameValueThenReturnTrue()
actual.ShouldBeTrue();
}

[Fact]
public static void GivenEquivalentValuesThenReturnTrue()
{
// Arrange
int[] leftValues = [1, 2, 3];
int[] rightValues = [1, 2, 3];
IOutterForArray<int>.Inner left = new(leftValues);
IOutterForArray<int>.Inner right = new(rightValues);

// Act
bool actual = left == right;

// Assert
actual.ShouldBeTrue();
}

[Fact]
public static void GivenDifferentValuesThenReturnFalse()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,22 @@ public static void GivenSameValueThenReturnFalse()
actual.ShouldBeFalse();
}

[Fact]
public static void GivenEquivalentValuesThenReturnFalse()
{
// Arrange
int[] leftValues = [1, 2, 3];
int[] rightValues = [1, 2, 3];
IOutterForArray<int>.Inner left = new(leftValues);
IOutterForArray<int>.Inner right = new(rightValues);

// Act
bool actual = left != right;

// Assert
actual.ShouldBeFalse();
}

[Fact]
public static void GivenDifferentValuesThenReturnTrue()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,22 @@ public static void GivenSameValueThenReturnTrue()
actual.ShouldBeTrue();
}

[Fact]
public static void GivenEquivalentValuesThenReturnTrue()
{
// Arrange
string leftValue = new(SampleValue.ToCharArray());
string rightValue = new(SampleValue.ToCharArray());
IOutterForString<int>.Inner left = new(leftValue);
IOutterForString<int>.Inner right = new(rightValue);

// Act
bool actual = left == right;

// Assert
actual.ShouldBeTrue();
}

[Fact]
public static void GivenDifferentValuesThenReturnFalse()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,21 @@ public static void GivenSameValueThenReturnTrue()
actual.ShouldBeTrue();
}

[Fact]
public static void GivenEquivalentValueThenReturnTrue()
{
// Arrange
string subjectValue = new(SampleValue.ToCharArray());
string comparisonValue = new(SampleValue.ToCharArray());
IOutterForString<int>.Inner subject = new(subjectValue);

// Act
bool actual = subject == comparisonValue;

// Assert
actual.ShouldBeTrue();
}

[Fact]
public static void GivenDifferentValueThenReturnFalse()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,22 @@ public static void GivenSameValueThenReturnFalse()
actual.ShouldBeFalse();
}

[Fact]
public static void GivenEquivalentValuesThenReturnFalse()
{
// Arrange
string leftValue = new(SampleValue.ToCharArray());
string rightValue = new(SampleValue.ToCharArray());
IOutterForString<int>.Inner left = new(leftValue);
IOutterForString<int>.Inner right = new(rightValue);

// Act
bool actual = left != right;

// Assert
actual.ShouldBeFalse();
}

[Fact]
public static void GivenDifferentValuesThenReturnTrue()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,21 @@ public static void GivenSameValueThenReturnFalse()
actual.ShouldBeFalse();
}

[Fact]
public static void GivenEquivalentValueThenReturnFalse()
{
// Arrange
string subjectValue = new(SampleValue.ToCharArray());
string comparisonValue = new(SampleValue.ToCharArray());
IOutterForString<int>.Inner subject = new(subjectValue);

// Act
bool actual = subject != comparisonValue;

// Assert
actual.ShouldBeFalse();
}

[Fact]
public static void GivenDifferentValueThenReturnTrue()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,22 @@ public static void GivenSameValueThenReturnTrue()
actual.ShouldBeTrue();
}

[Fact]
public static void GivenEquivalentValuesThenReturnTrue()
{
// Arrange
int[] leftValues = [1, 2, 3];
int[] rightValues = [1, 2, 3];
OutterForArray<int>.Inner left = new(leftValues);
OutterForArray<int>.Inner right = new(rightValues);

// Act
bool actual = left == right;

// Assert
actual.ShouldBeTrue();
}

[Fact]
public static void GivenDifferentValuesThenReturnFalse()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,22 @@ public static void GivenSameValueThenReturnFalse()
actual.ShouldBeFalse();
}

[Fact]
public static void GivenEquivalentValuesThenReturnFalse()
{
// Arrange
int[] leftValues = [1, 2, 3];
int[] rightValues = [1, 2, 3];
OutterForArray<int>.Inner left = new(leftValues);
OutterForArray<int>.Inner right = new(rightValues);

// Act
bool actual = left != right;

// Assert
actual.ShouldBeFalse();
}

[Fact]
public static void GivenDifferentValuesThenReturnTrue()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,22 @@ public static void GivenSameValueThenReturnTrue()
actual.ShouldBeTrue();
}

[Fact]
public static void GivenEquivalentValuesThenReturnTrue()
{
// Arrange
string leftValue = new(SampleValue.ToCharArray());
string rightValue = new(SampleValue.ToCharArray());
OutterForString<int>.Inner left = new(leftValue);
OutterForString<int>.Inner right = new(rightValue);

// Act
bool actual = left == right;

// Assert
actual.ShouldBeTrue();
}

[Fact]
public static void GivenDifferentValuesThenReturnFalse()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,21 @@ public static void GivenSameValueThenReturnTrue()
actual.ShouldBeTrue();
}

[Fact]
public static void GivenEquivalentValueThenReturnTrue()
{
// Arrange
string subjectValue = new(SampleValue.ToCharArray());
string comparisonValue = new(SampleValue.ToCharArray());
OutterForString<int>.Inner subject = new(subjectValue);

// Act
bool actual = subject == comparisonValue;

// Assert
actual.ShouldBeTrue();
}

[Fact]
public static void GivenDifferentValueThenReturnFalse()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,22 @@ public static void GivenSameValueThenReturnFalse()
actual.ShouldBeFalse();
}

[Fact]
public static void GivenEquivalentValuesThenReturnFalse()
{
// Arrange
string leftValue = new(SampleValue.ToCharArray());
string rightValue = new(SampleValue.ToCharArray());
OutterForString<int>.Inner left = new(leftValue);
OutterForString<int>.Inner right = new(rightValue);

// Act
bool actual = left != right;

// Assert
actual.ShouldBeFalse();
}

[Fact]
public static void GivenDifferentValuesThenReturnTrue()
{
Expand Down
Loading