Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ImportedProjects
SVG
Commits
df31b65d
Commit
df31b65d
authored
Feb 28, 2017
by
Tebjan Halm
Committed by
GitHub
Feb 28, 2017
Browse files
Merge pull request #283 from mrbean-bremen/patch-1
Fixed BoundsTest
parents
0860e3de
b1a432cf
Changes
1
Show whitespace changes
Inline
Side-by-side
Tests/Svg.UnitTests/BoundsTests.cs
View file @
df31b65d
...
...
@@ -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 re
a
ctangles from TestRectangleBounds()
AssertEqualBounds
(
"rects"
,
19.5
f
,
3
9.5f
,
10.5f
,
2
0.5f
);
AssertEqualBounds
(
"lines"
,
9.5f
,
-
40
.5f
,
31
,
86
);
// all rectangles from TestRectangleBounds()
AssertEqualBounds
(
"rects"
,
-
50
f
,
9.5f
,
80
,
5
0.5f
);
}
private
void
AssertEqualBounds
(
string
elementId
,
float
x
,
float
y
,
float
width
,
float
height
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment