Skip to content

Commit

Permalink
name them and make it build
Browse files Browse the repository at this point in the history
  • Loading branch information
eggrobin committed Dec 30, 2024
1 parent 5b6f032 commit e42efda
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 0 additions & 3 deletions functions/core_math_accuracy_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ using namespace principia::functions::_multiprecision;
using namespace principia::testing_utilities::_approximate_quantity;
using namespace principia::testing_utilities::_is_near;

namespace {

class CoreMathAccuracyTest : public ::testing::Test {
protected:
static double ULPDistance(cpp_bin_float_50 const& actual,
Expand Down Expand Up @@ -76,6 +74,5 @@ TEST_F(CoreMathAccuracyTest, SinCos) {

#endif

} // namespace
} // namespace functions
} // namespace principia
4 changes: 2 additions & 2 deletions functions/sin_cos_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// below.

namespace principia {
namespace {
namespace functions_test {

using namespace boost::multiprecision;
using namespace principia::functions::_multiprecision;
Expand Down Expand Up @@ -147,5 +147,5 @@ TEST_F(SinCosTest, HardReduction) {
AlmostEquals(-4.687165924254627611122582801963884e-19, 0));
}

} // namespace
} // namespace functions_test
} // namespace principia
2 changes: 2 additions & 0 deletions functions/std_accuracy_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include <limits>
#include <random>

#include "functions/multiprecision.hpp"
#include "glog/logging.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
Expand All @@ -18,6 +19,7 @@ namespace _multiprecision {

using ::testing::AnyOf;
using namespace boost::multiprecision;
using namespace principia::functions::_multiprecision;
using namespace principia::quantities::_si;
using namespace principia::testing_utilities::_almost_equals;
using namespace principia::testing_utilities::_approximate_quantity;
Expand Down

0 comments on commit e42efda

Please sign in to comment.