"vscode:/vscode.git/clone" did not exist on "0246f32b13fcf585185657b2a23d73a12d14c236"
Commit 234d6820 authored by umangyadav's avatar umangyadav
Browse files

add if_bool

parent dfb2f9d5
......@@ -61,6 +61,7 @@ TEST_CASE(value_construct_bool)
migraphx::value v = true;
EXPECT(v.is_bool());
EXPECT(v.get_bool() == true);
EXPECT(*v.if_bool() == true);
EXPECT(v.get_key().empty());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment