# import sys
# import unittest

# # Add parent directory of convergence_tests to Python path
# sys.path.append('/Users/gencersarpmert/mypackage/src/gensarpy/convergence_tests.py')

# # Import functions from convergence_tests package
# from convergence_tests.convergence_tests import check_convergence, nth_term_test, p_series_test, ratio_test, integral_test, alternating_series_test



# class TestConvergenceTests(unittest.TestCase):
#     def test_check_convergence_nth_term(self):
#         self.assertEqual(check_convergence('1/n'), 'Convergent by the Nth Term Test')

#     def test_check_convergence_integral(self):
#         self.assertEqual(check_convergence('1/x**2'), 'Convergent by the Integral Test')

#     def test_check_convergence_ratio(self):
#         self.assertEqual(check_convergence('1/n**2'), 'Convergent by the Ratio Test')

#     def test_check_convergence_alternating(self):
#         self.assertEqual(check_convergence('(-1)**n/n'), 'Convergent by the Alternating Series Test')

#     def test_check_convergence_pseries(self):
#         self.assertEqual(check_convergence('1/x**3'), 'Convergent by the P-Series Test')

# if __name__ == '__main__':
#     unittest.main()



