Commit b1a432cf authored by mrbean-bremen's avatar mrbean-bremen Committed by GitHub
Browse files

Fixed BoundsTest

- accidentally committed version with incorrect expected values
parent 0860e3de
......@@ -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