#include "services/network/ip_protection/ip_protection_geo_utils.h"
#include <optional>
#include <string>
#include "components/ip_protection/common/ip_protection_data_types.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace network {
class IpProtectionGeoUtilsTest : public testing::Test { … };
TEST_F(IpProtectionGeoUtilsTest, GetGeoIdFromGeoHint_ValidInput) { … }
TEST_F(IpProtectionGeoUtilsTest, GetGeoIdFromGeoHint_CountryCodeOnly) { … }
TEST_F(IpProtectionGeoUtilsTest, GetGeoIdFromGeoHint_EmptyGeoHintPtr) { … }
TEST_F(IpProtectionGeoUtilsTest, GetGeoIdFromGeoHint_NullOptGeoHint) { … }
TEST_F(IpProtectionGeoUtilsTest, GetGeoHintFromGeoIdForTesting_CompleteGeoId) { … }
TEST_F(IpProtectionGeoUtilsTest,
GetGeoHintFromGeoIdForTesting_CountryOnlyGeoId) { … }
TEST_F(IpProtectionGeoUtilsTest, GetGeoHintFromGeoIdForTesting_EmptyGeoId) { … }
}