| 431 | } |
| 432 | |
| 433 | void test_attribute_rename( geode::AttributeManager& manager ) |
| 434 | { |
| 435 | manager.rename_attribute( "foo_cst", "foo_constant" ); |
| 436 | auto constant_attribute = |
| 437 | manager.find_or_create_attribute< geode::ConstantAttribute, Foo >( |
| 438 | "foo_constant", Foo{} ); |
| 439 | geode::OpenGeodeBasicException::test( |
| 440 | constant_attribute->value().double_ == 12.4, |
| 441 | "Should be equal to 12.4" ); |
| 442 | } |
| 443 | |
| 444 | void test_number_of_attributes( |
| 445 | geode::AttributeManager& manager, geode::index_t nb ) |
no test coverage detected