From 1bf8d5c48f13dc7f4b700e98f7aefdb807f065fb Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Tue, 9 Nov 2021 10:45:54 +0100 Subject: [PATCH] Rename some tests --- ..._level_set.cc => function_signed_distance_01.cc} | 13 +++++++------ ...et.output => function_signed_distance_01.output} | 0 ...d_distance.cc => function_signed_distance_02.cc} | 0 ...ce.output => function_signed_distance_02.output} | 0 4 files changed, 7 insertions(+), 6 deletions(-) rename tests/base/{function_level_set.cc => function_signed_distance_01.cc} (81%) rename tests/base/{function_level_set.output => function_signed_distance_01.output} (100%) rename tests/base/{function_signed_distance.cc => function_signed_distance_02.cc} (100%) rename tests/base/{function_signed_distance.output => function_signed_distance_02.output} (100%) diff --git a/tests/base/function_level_set.cc b/tests/base/function_signed_distance_01.cc similarity index 81% rename from tests/base/function_level_set.cc rename to tests/base/function_signed_distance_01.cc index 7ef37054a4..9bba700df6 100644 --- a/tests/base/function_level_set.cc +++ b/tests/base/function_signed_distance_01.cc @@ -14,10 +14,10 @@ // --------------------------------------------------------------------- /** - * Test the classes Functions::LevelSet::Sphere and Functions::LevelSet::Plane, - * by creating an object of each class and calling the value, gradient and - * hessian functions at a point where we know what the function values should - * be. + * Test the classes Functions::SignedDistance::Sphere and + * Functions::SignedDistance::Plane, by creating an object of each class and + * calling the value, gradient and hessian functions at a point where we know + * what the function values should be. */ #include @@ -49,7 +49,7 @@ namespace const Point center; const double radius = 1; - const Functions::LevelSet::Sphere level_set(center, radius); + const Functions::SignedDistance::Sphere level_set(center, radius); Point point; point[0] = 2 * radius; @@ -68,7 +68,8 @@ namespace const Point point_in_plane; const Tensor<1, dim> normal = Point::unit_vector(0); - const Functions::LevelSet::Plane level_set(point_in_plane, normal); + const Functions::SignedDistance::Plane level_set(point_in_plane, + normal); Point point; for (unsigned int i = 0; i < dim; ++i) diff --git a/tests/base/function_level_set.output b/tests/base/function_signed_distance_01.output similarity index 100% rename from tests/base/function_level_set.output rename to tests/base/function_signed_distance_01.output diff --git a/tests/base/function_signed_distance.cc b/tests/base/function_signed_distance_02.cc similarity index 100% rename from tests/base/function_signed_distance.cc rename to tests/base/function_signed_distance_02.cc diff --git a/tests/base/function_signed_distance.output b/tests/base/function_signed_distance_02.output similarity index 100% rename from tests/base/function_signed_distance.output rename to tests/base/function_signed_distance_02.output -- 2.39.5