Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
a8d7c888
"vscode:/vscode.git/clone" did not exist on "df011054fab42766d36cf319421badc4e0e4048a"
Commit
a8d7c888
authored
May 23, 2022
by
charlie
Browse files
Add operator<< tests for coverage
parent
eb9fe865
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
test/shape_test.cpp
test/shape_test.cpp
+9
-0
No files found.
test/shape_test.cpp
View file @
a8d7c888
...
@@ -97,6 +97,15 @@ TEST_CASE(test_shape_dynamic_compares)
...
@@ -97,6 +97,15 @@ TEST_CASE(test_shape_dynamic_compares)
EXPECT
(
s0
==
s1
);
EXPECT
(
s0
==
s1
);
EXPECT
(
s0
==
s2
);
EXPECT
(
s0
==
s2
);
EXPECT
(
s0
!=
s3
);
EXPECT
(
s0
!=
s3
);
std
::
stringstream
ss0
;
std
::
stringstream
ss1
;
std
::
stringstream
ss3
;
ss0
<<
s0
;
ss1
<<
s1
;
ss3
<<
s3
;
EXPECT
(
ss0
.
str
()
==
ss1
.
str
());
EXPECT
(
ss0
.
str
()
!=
ss3
.
str
());
}
}
TEST_CASE
(
test_shape_dynamic_errors
)
TEST_CASE
(
test_shape_dynamic_errors
)
...
...
Write
Preview
Markdown
is supported
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