Skip to content
Snippets Groups Projects
Commit f771d562 authored by Timo Koch's avatar Timo Koch
Browse files

[test][components] Add isIon to the component traits test

parent dcf8809c
No related branches found
No related tags found
1 merge request!1094Introduce ions and test ions and solid components
...@@ -37,5 +37,6 @@ int main(int argc, char *argv[]) ...@@ -37,5 +37,6 @@ int main(int argc, char *argv[])
static_assert(Traits::hasGasState, "Air component is reported to have no gas state?!"); static_assert(Traits::hasGasState, "Air component is reported to have no gas state?!");
static_assert(!Traits::hasSolidState, "Air component is reported to implement a solid state?!"); static_assert(!Traits::hasSolidState, "Air component is reported to implement a solid state?!");
static_assert(!Traits::hasLiquidState, "Air component is reported to implement a liquid state?!"); static_assert(!Traits::hasLiquidState, "Air component is reported to implement a liquid state?!");
static_assert(!Traits::isIon, "Air component is reported to be an ion?!");
static_assert(std::is_same<double, Traits::Scalar>::value, "Scalar type not correctly reported!"); static_assert(std::is_same<double, Traits::Scalar>::value, "Scalar type not correctly reported!");
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment