Skip to content

Commit

Permalink
Merge pull request svg-net#283 from mrbean-bremen/patch-1
Browse files Browse the repository at this point in the history
Fixed BoundsTest
  • Loading branch information
tebjan committed Feb 28, 2017
2 parents 0860e3d + b1a432c commit df31b65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/Svg.UnitTests/BoundsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ public void TestRectangleBounds()
public void TestGroupBounds()
{
// all lines from TestLineBounds()
AssertEqualBounds("lines", 9.5f, 29.5f, 10.5f, 20.5f);
// all reactangles from TestRectangleBounds()
AssertEqualBounds("rects", 19.5f, 39.5f, 10.5f, 20.5f);
AssertEqualBounds("lines", 9.5f, -40.5f, 31, 86);
// all rectangles from TestRectangleBounds()
AssertEqualBounds("rects", -50f, 9.5f, 80, 50.5f);
}

private void AssertEqualBounds(string elementId, float x, float y, float width, float height)
Expand Down

0 comments on commit df31b65

Please sign in to comment.