blob: 73ae5eb0aad2a7c6d4f632f73a211c95e65e9b68 [file] [log] [blame]
#include <stdplus/net/addr/ether.hpp>
#include <gtest/gtest.h>
namespace stdplus
{
TEST(EqualOperator, EtherAddr)
{
EXPECT_EQ((EtherAddr{1}), (ether_addr{1}));
EXPECT_EQ((EtherAddr{}), (EtherAddr{}));
EXPECT_NE((EtherAddr{1}), (EtherAddr{ether_addr{}}));
std::hash<EtherAddr>{}(EtherAddr{});
}
} // namespace stdplus