From: Peter Munch Date: Tue, 9 Nov 2021 09:45:54 +0000 (+0100) Subject: Rename some tests X-Git-Tag: v9.4.0-rc1~851^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12929%2Fhead;p=dealii.git Rename some tests --- 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