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
234d6820
"src/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "c49b17e133b62fc1d0c2cb270d4820d49ed2e8cf"
Commit
234d6820
authored
May 31, 2022
by
umangyadav
Browse files
add if_bool
parent
dfb2f9d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
test/api/test_value.cpp
test/api/test_value.cpp
+1
-0
No files found.
test/api/test_value.cpp
View file @
234d6820
...
@@ -61,6 +61,7 @@ TEST_CASE(value_construct_bool)
...
@@ -61,6 +61,7 @@ TEST_CASE(value_construct_bool)
migraphx
::
value
v
=
true
;
migraphx
::
value
v
=
true
;
EXPECT
(
v
.
is_bool
());
EXPECT
(
v
.
is_bool
());
EXPECT
(
v
.
get_bool
()
==
true
);
EXPECT
(
v
.
get_bool
()
==
true
);
EXPECT
(
*
v
.
if_bool
()
==
true
);
EXPECT
(
v
.
get_key
().
empty
());
EXPECT
(
v
.
get_key
().
empty
());
}
}
...
...
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