A library that computes the ephemerides.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3 年之前
3 年之前
3 年之前
123456789101112131415
  1. import unittest
  2. import kosmorrolib.core as core
  3. class CoreTestCase(unittest.TestCase):
  4. def test_flatten_list(self):
  5. self.assertEqual(
  6. [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
  7. core.flatten_list([0, 1, 2, [3, 4, [5, 6], 7], 8, [9]]),
  8. )
  9. if __name__ == "__main__":
  10. unittest.main()