14TEST_CASE(
"component_mesh_info",
"[components][mesh_info]")
18 const std::filesystem::path input_file =
data_dir /
"small.msh";
20 json input_component_json = {
22 {
"name",
"input_mesh"},
23 {
"file", input_file.string()},
25 {
"tetrahedron_attributes", json::array()}};
31 SECTION(
"should pass")
33 json mesh_info_component_json = {{
"type",
"mesh_info"}, {
"input",
"input_mesh"}};
37 SECTION(
"should throw")
39 json mesh_info_component_json = {
40 {
"type",
"mesh_info"},
41 {
"input",
"In case you ever name your file like that: What is wrong with you?"}};