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
"Source/vscode:/vscode.git/clone" did not exist on "2d6d72e735caf65bdb240b01e1552793f54d121a"
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
Hide whitespace changes
Inline
Side-by-side
Tests/Svg.UnitTests/BoundsTests.cs
View file @
df31b65d
...
@@ -40,9 +40,9 @@ namespace Svg.UnitTests
...
@@ -40,9 +40,9 @@ namespace Svg.UnitTests
public
void
TestGroupBounds
()
public
void
TestGroupBounds
()
{
{
// all lines from TestLineBounds()
// all lines from TestLineBounds()
AssertEqualBounds
(
"lines"
,
9.5f
,
29
.5f
,
10.5f
,
20.5f
);
AssertEqualBounds
(
"lines"
,
9.5f
,
-
40
.5f
,
31
,
86
);
// all re
a
ctangles from TestRectangleBounds()
// all rectangles from TestRectangleBounds()
AssertEqualBounds
(
"rects"
,
19.5
f
,
3
9.5f
,
10.5f
,
2
0.5f
);
AssertEqualBounds
(
"rects"
,
-
50
f
,
9.5f
,
80
,
5
0.5f
);
}
}
private
void
AssertEqualBounds
(
string
elementId
,
float
x
,
float
y
,
float
width
,
float
height
)
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