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
Matthias Mayr
limbo
Commits
1defabaa
Commit
1defabaa
authored
Dec 16, 2015
by
Federico Allocati
Browse files
Fixed issue #58
parent
e242b798
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/tests/test_macros.cpp
View file @
1defabaa
...
...
@@ -28,7 +28,6 @@ BOOST_AUTO_TEST_CASE(test_macros)
Params
::
test
::
set_b
(
3
);
BOOST_CHECK
(
Params
::
test
::
b
()
==
3
);
BOOST_CHECK
(
__VA_NARG__
()
==
0
);
BOOST_CHECK
(
__VA_NARG__
(
1
)
==
1
);
BOOST_CHECK
(
__VA_NARG__
(
10
,
11
,
12
,
13
)
==
4
);
...
...
@@ -49,4 +48,4 @@ BOOST_AUTO_TEST_CASE(test_macros)
BOOST_CHECK
(
Params
::
test
::
d
()(
5
)
==
6.0
);
BOOST_CHECK
(
strcmp
(
Params
::
test
::
e
(),
"e"
)
==
0
);
}
\ No newline at end of file
}
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