From 80fcff1ed5af30fcbeeee902c47f0ef4bed1512f Mon Sep 17 00:00:00 2001 From: yetongumich Date: Tue, 6 Aug 2024 10:42:38 -0400 Subject: [PATCH] remove accidentally added file --- gtsam/constraint/tests/testSimple.cpp | 37 --------------------------- 1 file changed, 37 deletions(-) delete mode 100644 gtsam/constraint/tests/testSimple.cpp diff --git a/gtsam/constraint/tests/testSimple.cpp b/gtsam/constraint/tests/testSimple.cpp deleted file mode 100644 index 800f9ec6c..000000000 --- a/gtsam/constraint/tests/testSimple.cpp +++ /dev/null @@ -1,37 +0,0 @@ -#include - -#include -#include -#include -#include -#include - -#include -#include - -// Define a functor class -class MyFunctor { -public: - // Overload the function call operator - void operator()(int x) const { - std::cout << "MyFunctor called with " << x << std::endl; - } -}; - - -TEST(InequalityConstraint, DoubleExpressionInequality) { - // Create an instance of the functor - MyFunctor functor; - - // Cast the functor to std::function - std::function func = functor; - - // Call the std::function object - func(42); -} - - -int main() { - TestResult tr; - return TestRegistry::runAllTests(tr); -}