public void Given_ARightRotatedTile_When_GettingRightEdge_Then_ReturnsBottomEdge() { // Arrange var field = new Field(ImmutableHashSet.Create( Segment.RightTop, Segment.Right, Segment.RightBottom )); var tile = new TileBuilder() .CreateTile(new IFeature[] { field, }) .ValueOrFailure(); var placement = new Placement(tile, Orientation.Right); // Act var actualEdge = placement.GetEdge(Orientation.Bottom); // Assert IFeature[] expectedEdge = { field, field, field }; Assert.Equal(expectedEdge, actualEdge); }