Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
stdplus
/
1c8d0aefd05c8b7be369c52494e91d77ca657e40
/
.
/
test
/
str
/
maps.cpp
blob: e3ff1d62a33a92648f35da05f2bdc8954d31fc16 [
file
] [
log
] [
blame
]
#include
<stdplus/str/maps.hpp>
#include
<gtest/gtest.h>
namespace
stdplus
{
TEST
(
StringMaps
,
Basic
)
{
string_umap
<int>
a
=
{{
"hi"
,
2
}};
EXPECT_EQ
(
2
,
a
.
find
(
std
::
string_view
(
"hi"
))->
second
);
}
}
// namespace stdplus