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
b1a432cf
Commit
b1a432cf
authored
Feb 28, 2017
by
mrbean-bremen
Committed by
GitHub
Feb 28, 2017
Browse files
Fixed BoundsTest
- accidentally committed version with incorrect expected values
parent
0860e3de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Tests/Svg.UnitTests/BoundsTests.cs
View file @
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 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