mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-17 21:43:10 +00:00
Put ESM::FixedString tests into unnamed namespace
This commit is contained in:
parent
c9d57788fb
commit
7c60905266
1 changed files with 132 additions and 129 deletions
|
|
@ -2,6 +2,8 @@
|
||||||
#include "components/esm/esmcommon.hpp"
|
#include "components/esm/esmcommon.hpp"
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
|
namespace
|
||||||
|
{
|
||||||
TEST(EsmFixedString, operator__eq_ne)
|
TEST(EsmFixedString, operator__eq_ne)
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
|
|
@ -141,3 +143,4 @@ TEST(EsmFixedString, construction_from_RecNameInts_is_supported)
|
||||||
constexpr ESM::NAME value(ESM::RecNameInts::REC_ACTI);
|
constexpr ESM::NAME value(ESM::RecNameInts::REC_ACTI);
|
||||||
EXPECT_EQ(value, static_cast<std::uint32_t>(ESM::RecNameInts::REC_ACTI)) << value.toInt();
|
EXPECT_EQ(value, static_cast<std::uint32_t>(ESM::RecNameInts::REC_ACTI)) << value.toInt();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue