#include "fesa/core/PropertyDefinition.hpp" namespace { int require(bool condition) { return condition ? 0 : 1; } } // namespace int run_property_definition_tests() { const fesa::core::ShellPropertyDefinition property{500, 700, 0.01}; if (const int result = require(property.id() == 500); result != 0) { return result; } if (const int result = require(property.materialId() == 700); result != 0) { return result; } if (const int result = require(property.thickness() == 0.01); result != 0) { return result; } return 0; }