blob: e3ff1d62a33a92648f35da05f2bdc8954d31fc16 [file] [log] [blame]
William A. Kennington III521475e2022-12-12 16:51:44 -08001#include <stdplus/str/maps.hpp>
2
3#include <gtest/gtest.h>
4
5namespace stdplus
6{
7
8TEST(StringMaps, Basic)
9{
10 string_umap<int> a = {{"hi", 2}};
11 EXPECT_EQ(2, a.find(std::string_view("hi"))->second);
12}
13
14} // namespace stdplus