Commit df31b65d authored by Tebjan Halm's avatar Tebjan Halm Committed by GitHub
Browse files

Merge pull request #283 from mrbean-bremen/patch-1

Fixed BoundsTest
parents 0860e3de b1a432cf
......@@ -40,9 +40,9 @@ namespace Svg.UnitTests
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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment