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
0b7469d3
Commit
0b7469d3
authored
Nov 07, 2018
by
Paul
Browse files
Formatting
parent
af3c5ab1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
test/include/test.hpp
test/include/test.hpp
+5
-2
No files found.
test/include/test.hpp
View file @
0b7469d3
...
@@ -194,8 +194,11 @@ inline void add_test_case(std::string name, std::function<void()> f)
...
@@ -194,8 +194,11 @@ inline void add_test_case(std::string name, std::function<void()> f)
struct
auto_register
struct
auto_register
{
{
template
<
class
F
>
template
<
class
F
>
auto_register
(
const
char
*
name
,
F
f
)
noexcept
{
add_test_case
(
name
,
f
);
}
auto_register
(
const
char
*
name
,
F
f
)
noexcept
{
add_test_case
(
name
,
f
);
}
};
};
inline
void
run_test_case
(
const
std
::
string
&
name
,
const
std
::
function
<
void
()
>&
f
)
inline
void
run_test_case
(
const
std
::
string
&
name
,
const
std
::
function
<
void
()
>&
f
)
...
...
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