Skip to content

Commit

Permalink
test: avoid short names
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Oct 8, 2024
1 parent b967dbc commit c5e98d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/entt/meta/meta_type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -724,15 +724,15 @@ TEST_F(MetaType, Variables) {
auto d_data = entt::resolve("double"_hs).data("var"_hs);

property_type prop{property_type::key_only};
double d = 3.;
double value = 3.;

p_data.set(prop, property_type::random);
d_data.set(d, 3.);
d_data.set(value, 3.);

ASSERT_EQ(p_data.get(prop).cast<property_type>(), property_type::random);
ASSERT_EQ(d_data.get(d).cast<double>(), 3.);
ASSERT_EQ(d_data.get(value).cast<double>(), 3.);
ASSERT_EQ(prop, property_type::random);
ASSERT_EQ(d, 3.);
ASSERT_EQ(value, 3.);
}

TEST_F(MetaType, PropertiesAndCornerCases) {
Expand Down

0 comments on commit c5e98d3

Please sign in to comment.