Skip to content

Commit

Permalink
More coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
dalyIsaac committed Sep 28, 2024
1 parent ea96281 commit 02eec8f
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,20 @@ public void Equals_Same(IContext ctx, SliceLayoutPlugin plugin)
Assert.True(equals);
}

[Theory, AutoSubstituteData]
public void Equals_DifferentType(IContext ctx, SliceLayoutPlugin plugin)
{
// Given
ILayoutEngine a = new SliceLayoutEngine(ctx, plugin, identity, SampleSliceLayouts.CreateNestedLayout());
ILayoutEngine b = SliceLayouts.CreateColumnLayout(ctx, plugin, identity);

// When
bool equals = a.Equals(b);

// Then
Assert.False(equals);
}

[Theory, AutoSubstituteData]
public void SliceLayoutEngine_GetHashCode(IContext ctx, SliceLayoutPlugin plugin)
{
Expand Down

0 comments on commit 02eec8f

Please sign in to comment.